This commit introduces a new tsconfig.json file to control TypeScript compiler options. The configuration includes settings for compiler options such as strict type checking, module resolution, and decorator metadata emission, as well as specifying base and output directory.
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"removeComments": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"target": "ES2021",
|
|
"sourceMap": true,
|
|
"outDir": "./dist",
|
|
"baseUrl": "./",
|
|
"incremental": true,
|
|
"skipLibCheck": true,
|
|
"strictNullChecks": true,
|
|
"noImplicitAny": true,
|
|
"strictBindCallApply": true,
|
|
"forceConsistentCasingInFileNames": false,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"paths": {
|
|
"@services/*": [
|
|
"src/services/*"
|
|
],
|
|
"@controllers/*": [
|
|
"src/controllers/*"
|
|
],
|
|
"@routers/*": [
|
|
"src/routers/*"
|
|
],
|
|
"@utils/*": [
|
|
"src/utils/*"
|
|
],
|
|
"@interfaces/*": [
|
|
"src/interfaces/*"
|
|
],
|
|
"@validators/*": [
|
|
"src/validators/*"
|
|
]
|
|
},
|
|
"resolveJsonModule": true,
|
|
"declarationMap": true,
|
|
"noEmitOnError": true,
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"strictFunctionTypes": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"alwaysStrict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noImplicitReturns": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"allowUnusedLabels": true,
|
|
"allowUnreachableCode": true
|
|
},
|
|
}
|