chore: update TypeScript to 5.5 #458

Merged
Sainan merged 3 commits from ts-5.5 into main 2024-07-03 04:00:31 -07:00
3 changed files with 3 additions and 12 deletions
Showing only changes of commit 12aa501954 - Show all commits

7
package-lock.json generated
View File

@ -18,7 +18,6 @@
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@tsconfig/node20": "^1.0.0",
"@types/express": "^4.17.20",
"@types/morgan": "^1.9.7",
"@typescript-eslint/eslint-plugin": "^7.13.1",
@ -314,12 +313,6 @@
"integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==",
"dev": true
},
"node_modules/@tsconfig/node20": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-1.0.0.tgz",
"integrity": "sha512-AwbXtpWEaRUjbGVwdlusNqwet+jeSk3Nnqf/8+77WJ1/9d6xnqs2QpE9Pdwv8RCoXxtMedWEtlmWY+/irBPcUw==",
"dev": true
},
"node_modules/@types/body-parser": {
"version": "1.19.2",
"resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz",

View File

@ -22,7 +22,6 @@
"winston-daily-rotate-file": "^4.7.1"
},
"devDependencies": {
"@tsconfig/node20": "^1.0.0",
"@types/express": "^4.17.20",
"@types/morgan": "^1.9.7",
"@typescript-eslint/eslint-plugin": "^7.13.1",

View File

@ -1,5 +1,4 @@
{
"extends": "@tsconfig/node20/tsconfig.json",
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
@ -12,8 +11,8 @@
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
/* Language and Environment */
//"target": "es2016" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
// "lib": ["es2023"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"target": "es2022" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"lib": ["es2023"] /* Specify a set of bundled library declaration files that describe the target runtime environment. */,
// "jsx": "preserve", /* Specify what JSX code is generated. */
// "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
@ -26,7 +25,7 @@
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
/* Modules */
//"module": "commonjs" /* Specify what module code is generated. */,
"module": "node16" /* Specify what module code is generated. */,
// "rootDir": "./", /* Specify the root folder within your source files. */
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */