Skip to content

Commit 61fed9d

Browse files
committed
build: update tsconfig options
1 parent f308673 commit 61fed9d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/health/health.controller.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ import {
66
HealthIndicatorResult,
77
TypeOrmHealthIndicator,
88
} from '@nestjs/terminus';
9-
import { RedisService } from 'nestjs-redis';
109

1110
@Controller('health')
1211
export class HealthController {
1312
constructor(
1413
private health: HealthCheckService,
1514
private db: TypeOrmHealthIndicator,
16-
private redis: RedisService,
1715
) {}
1816

1917
@Get()

tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
"outDir": "./dist",
1111
"baseUrl": "./",
1212
"incremental": true,
13+
"noImplicitAny": true,
14+
"noImplicitReturns": true,
15+
"noImplicitThis": true,
16+
"alwaysStrict": true,
17+
"noUnusedLocals": true,
18+
"strictNullChecks": true,
1319
"strictPropertyInitialization": false,
1420
"allowJs": true,
1521
}

0 commit comments

Comments
 (0)