diff --git a/index.js b/index.js index b7c25b0..267f001 100644 --- a/index.js +++ b/index.js @@ -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 */ /** diff --git a/tsconfig.json b/tsconfig.json index e31adf8..4a6f82d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,8 +3,7 @@ "compilerOptions": { "target": "ES2020", "lib": ["ES2020"], - "module": "ES2020", - "moduleResolution": "node", + "module": "Node16", "allowJs": true, "checkJs": true, "declaration": true,