Skip to content

Commit 6e38f21

Browse files
authored
Use module: node16 in types
Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com> Reviewed-by: Remco Haszing <remcohaszing@gmail.com> Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 9ff43eb commit 6e38f21

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @typedef {import('./lib/index.js').Handler} Handler
44
* @typedef {import('./lib/index.js').Handlers} Handlers
55
* @typedef {import('./lib/index.js').H} H
6-
* @typedef {import('./complex-types').Raw} Raw
6+
* @typedef {import('./complex-types.js').Raw} Raw
77
*/
88

99
export {one, all} from './lib/traverse.js'

tsconfig.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
"compilerOptions": {
44
"target": "ES2020",
55
"lib": ["ES2020"],
6-
"module": "ES2020",
7-
"moduleResolution": "node",
6+
"module": "Node16",
87
"allowJs": true,
98
"checkJs": true,
109
"declaration": true,
1110
"emitDeclarationOnly": true,
12-
"allowSyntheticDefaultImports": true,
1311
"skipLibCheck": true,
1412
"strict": true
1513
}

0 commit comments

Comments
 (0)