diff --git a/tsconfig.json b/tsconfig.json index 07a737a..55bde05 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,22 @@ { "compilerOptions": { - "target": "es2017", - "module": "es6", - "rootDir": "./src", - "moduleResolution": "node", + "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/*" @@ -26,19 +38,11 @@ ] }, "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, @@ -47,12 +51,10 @@ "noUnusedParameters": true, "exactOptionalPropertyTypes": true, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true, "noUncheckedIndexedAccess": true, "noImplicitOverride": true, "noPropertyAccessFromIndexSignature": true, "allowUnusedLabels": true, - "allowUnreachableCode": true, - "skipLibCheck": true + "allowUnreachableCode": true }, }