Skip to content

Commit e18ea33

Browse files
committed
fix type import
1 parent b372d64 commit e18ea33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/gatsby-plugin-mdx/src/remark-mdx-html-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import toHast from "mdast-util-to-hast"
22
import { cachedImport } from "./cache-helpers"
33

4-
import type { Node } from "unist-util-visit"
4+
import type { Node } from "unist"
55
import type { Definition, Literal } from "mdast"
66
import type { MdxJsxAttribute, MdxJsxFlowElement } from "mdast-util-mdx"
77

packages/gatsby-plugin-mdx/src/remark-path-prefix-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Node } from "unist-util-visit"
1+
import type { Node } from "unist"
22
import { cachedImport } from "./cache-helpers"
33

44
// ensure only one `/` in new url

0 commit comments

Comments
 (0)