diff --git a/index.js b/index.js index 96ce683..4eca6f6 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ * @typedef {import('./lib/index.js').Handler} Handler * @typedef {import('./lib/index.js').Handlers} Handlers * @typedef {import('./lib/index.js').H} H - * @typedef {import('./complex-types').Raw} Raw + * @typedef {import('./complex-types.js').Raw} Raw */ export {one, all} from './lib/traverse.js' diff --git a/tsconfig.json b/tsconfig.json index 811b979..4edcba4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,13 +3,11 @@ "compilerOptions": { "target": "ES2020", "lib": ["ES2020"], - "module": "ES2020", - "moduleResolution": "node", + "module": "Node16", "allowJs": true, "checkJs": true, "declaration": true, "emitDeclarationOnly": true, - "allowSyntheticDefaultImports": true, "skipLibCheck": true, "strict": true }