From cf548890fc36da599e3c6a647dd413440246fb17 Mon Sep 17 00:00:00 2001 From: Mathis Date: Tue, 23 Apr 2024 13:51:59 +0200 Subject: [PATCH] build: :wrench: tsconfig --- tsconfig.json | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tsconfig.json diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..07a737a --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,58 @@ +{ + "compilerOptions": { + "target": "es2017", + "module": "es6", + "rootDir": "./src", + "moduleResolution": "node", + "baseUrl": "./", + "paths": { + "@services/*": [ + "src/services/*" + ], + "@controllers/*": [ + "src/controllers/*" + ], + "@routes/*": [ + "src/routes/*" + ], + "@utils/*": [ + "src/utils/*" + ], + "@interfaces/*": [ + "src/interfaces/*" + ], + "@validators/*": [ + "src/validators/*" + ] + }, + "resolveJsonModule": true, + "declaration": true, + "declarationMap": true, + "sourceMap": true, + "outDir": "./dist", + "removeComments": false, + "noEmitOnError": true, + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitAny": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "strictBindCallApply": true, + "strictPropertyInitialization": true, + "noImplicitThis": true, + "useUnknownInCatchVariables": true, + "alwaysStrict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "exactOptionalPropertyTypes": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + "noPropertyAccessFromIndexSignature": true, + "allowUnusedLabels": true, + "allowUnreachableCode": true, + "skipLibCheck": true + }, +}