Skip to content

Commit 42d96d2

Browse files
chore: update tsconfig in preparation for TS 6.0 (#336)
* chore: add types field * Add libReplacement
1 parent 43e8ef6 commit 42d96d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"forceConsistentCasingInFileNames": true,
1010
"isolatedModules": true,
1111
"lib": ["ES2022"],
12+
"libReplacement": false,
1213
"module": "NodeNext",
1314
"moduleResolution": "NodeNext",
1415
"noEmit": true,
@@ -19,7 +20,8 @@
1920
"resolveJsonModule": true,
2021
"skipLibCheck": true,
2122
"strict": true,
22-
"target": "ES2022"
23+
"target": "ES2022",
24+
"types": ["node"]
2325
},
2426
"include": ["scripts", "*.config.*", "packages/*/*.config.*"]
2527
}

0 commit comments

Comments
 (0)