diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..4d1b8aa --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,60 @@ +{ + "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 + }, +}