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
|
|
}
|
|
} |