该死的node 20

This commit is contained in:
2023-08-28 17:41:07 +08:00
parent 42c2e8bdf7
commit a74e612546
10 changed files with 327 additions and 275 deletions

View File

@@ -8,6 +8,8 @@
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
import { testRankingListRequest } from "./testRankingListRequest.js";
// import { testRankingListRequest } from "./testRankingListRequest.js";
testRankingListRequest();
// testRankingListRequest();
console.log( "test" );

View File

@@ -14,13 +14,12 @@
"target": "ESNext",
"module": "ESNext",
// "module": "CommonJS",
// "moduleResolution": "node",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": false,
"esModuleInterop": true,
"baseUrl": "./", // paths 路径解析起点
"paths": { // 别名路径设置
"@/*": [
@@ -46,5 +45,8 @@
],
"exclude": [
"./node_modules",
]
],
"ts-node": {
"esm": true
},
}