tsconfig: update to match Node.js 20 preset

This commit is contained in:
liushuyu 2023-09-03 23:23:15 -06:00
parent abad013754
commit 55101858e7
No known key found for this signature in database
GPG key ID: 23D1CE4534419437
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
"analyze": true, "analyze": true,
"license": "GPL-2.0+", "license": "GPL-2.0+",
"engines": { "engines": {
"node": ">=18.0.0" "node": ">=20.0.0"
}, },
"dependencies": { "dependencies": {
"checkenv": "^1.2.2", "checkenv": "^1.2.2",

View file

@ -1,7 +1,7 @@
{ {
"extends": "@tsconfig/node20/tsconfig.json", "extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"module": "esnext", "module": "node16",
"noImplicitAny": true, "noImplicitAny": true,
"strictNullChecks": true, "strictNullChecks": true,
"resolveJsonModule": true, "resolveJsonModule": true,