Skip to content

Commit bc1154c

Browse files
authored
Fix TypeScript type imports
Closes GH-3.
1 parent 66245a8 commit bc1154c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension
55
* @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle
66
* @typedef {import('estree-jsx').Program} Program
7-
* @typedef {import('./complex-types').MdxjsEsm} MdxjsEsm
7+
* @typedef {import('./complex-types.js').MdxjsEsm} MdxjsEsm
88
*
99
* @typedef {MdxjsEsm} MDXJSEsm - Deprecated name, prefer `MdxjsEsm`
1010
*/

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"target": "ES2020",
55
"lib": ["ES2020"],
66
"module": "ES2020",
7-
"moduleResolution": "node",
7+
"moduleResolution": "node16",
88
"allowJs": true,
99
"checkJs": true,
1010
"declaration": true,

0 commit comments

Comments
 (0)