First update.
This commit is contained in:
10
tsconfig.json
Normal file
10
tsconfig.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2015", // 或 ES2020、ESNext 都可以
|
||||
"module": "commonjs", // 根据你的 Node.js 版本和需求设置
|
||||
"strict": true, // 可选但推荐
|
||||
"esModuleInterop": true, // 可选
|
||||
"downlevelIteration": true // 如果仍用 ES5 作为 target 就加这个
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user