Chore: Finetuned tsconfig

This commit is contained in:
Thom Werring 2024-03-23 14:04:26 +01:00
parent d0791de188
commit 0a383644aa
2 changed files with 18 additions and 6 deletions

View File

@ -1,5 +1,5 @@
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
import { AppModule } from '@/app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);

View File

@ -6,16 +6,28 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"target": "ES2022",
"lib": [ "es2022"],
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"baseUrl": "./src",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictNullChecks": true,
"noImplicitAny": true,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false
"noFallthroughCasesInSwitch": false,
"strict": true,
"noUncheckedIndexedAccess": true,
"paths": {
"@/*": [
"./*"
],
"@": [
"./main.ts"
]
}
}
}