mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-18 12:10:05 +08:00
Added 'typeRoots' to specify custom type definitions directory and reformatted the 'paths' property for better readability. This improves TypeScript type resolution and project maintainability.
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2021",
|
|
"module": "ESNext",
|
|
"moduleResolution": "Node",
|
|
"lib": [
|
|
"ES2021"
|
|
],
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
],
|
|
"esModuleInterop": true,
|
|
"outDir": "dist",
|
|
"noEmit": false,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"noImplicitAny": false,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"alwaysStrict": true,
|
|
"noImplicitThis": true,
|
|
"noImplicitReturns": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"exactOptionalPropertyTypes": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"noImplicitOverride": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"useDefineForClassFields": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": [
|
|
"packages/*"
|
|
]
|
|
},
|
|
"skipLibCheck": true,
|
|
"skipDefaultLibCheck": true
|
|
}
|
|
} |