Skip to content

Commit

Permalink
Fix type imports for Node16 module resolution
Browse files Browse the repository at this point in the history
Closes GH-3.

Reviewed-by: JounQin <[email protected]>
Reviewed-by: Christian Murphy <[email protected]>
Reviewed-by: Titus Wormer <[email protected]>
  • Loading branch information
remcohaszing authored Sep 30, 2022
1 parent 0693e9f commit bbb5ebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* @typedef {import('mdast-util-to-markdown').Options} ToMarkdownExtension
* @typedef {import('mdast-util-to-markdown').Handle} ToMarkdownHandle
* @typedef {import('estree-jsx').Program} Program
* @typedef {import('./complex-types').MdxFlowExpression} MdxFlowExpression
* @typedef {import('./complex-types').MdxTextExpression} MdxTextExpression
* @typedef {import('./complex-types.js').MdxFlowExpression} MdxFlowExpression
* @typedef {import('./complex-types.js').MdxTextExpression} MdxTextExpression
*/

/**
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020"],
"module": "ES2020",
"moduleResolution": "node",
"module": "Node16",
"allowJs": true,
"checkJs": true,
"declaration": true,
Expand Down

0 comments on commit bbb5ebe

Please sign in to comment.