xy-server/tsconfig.json

37 lines
2.1 KiB
JSON
Raw Normal View History

2025-04-23 09:34:08 +08:00
{
"compilerOptions": {
// "incremental": true, /* 增量编译 提高编译速度*/
"target": "es2020", /* ES*/
"module": "commonjs", /* */
// "lib": [], /* 编译过程中需要引入的库文件列表*/
"declaration": true, /* */
"outDir": "./dist/", /* ts */
"allowJs":true,
"baseUrl": "/",
"paths": {
"@/*": ["etc/*","game/*","game/gategame/geargame/utils/*","game/utils/*"],
},
// "importHelpers": true, /* 从tslib导入辅助工具函数(如__importDefault)*/
"strict": false, /* noImplicitAnystrictNullChecksstrictFunctionTypesstrictBindCallApplytrue */
"noImplicitAny": true,
"noUnusedLocals": false, /* 使*/
"noUnusedParameters": false, /* 使*/
"noImplicitReturns": true, /* */
"noFallthroughCasesInSwitch": true, /* switchcase穿*/
"moduleResolution": "node", /* */
"typeRoots": [ /* */
"./typings",
"./node_modules/@types"
],
"allowSyntheticDefaultImports": true, /* */
"esModuleInterop": true, /* (__importDefault__importStar)ESMcommonjs*/
"sourceMap": true
},
"include": [ /* */
"./**/*.ts",
"./index.d.ts",
],
"exclude": [ /* */
"node_modules/**"
],
}