Skip to content

Commit 6e42509

Browse files
committed
fix: enable strict tsconfig flags in vended CDK project
1 parent 17d0fa2 commit 6e42509

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/assets/__tests__/__snapshots__/assets.snapshot.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -337,14 +337,14 @@ exports[`Assets Directory Snapshots > CDK assets > cdk/cdk/tsconfig.json should
337337
"strictNullChecks": true,
338338
"noImplicitThis": true,
339339
"alwaysStrict": true,
340-
"noUnusedLocals": false,
341-
"noUnusedParameters": false,
340+
"noUnusedLocals": true,
341+
"noUnusedParameters": true,
342342
"noImplicitReturns": true,
343-
"noFallthroughCasesInSwitch": false,
343+
"noFallthroughCasesInSwitch": true,
344344
"inlineSourceMap": true,
345345
"inlineSources": true,
346346
"experimentalDecorators": true,
347-
"strictPropertyInitialization": false,
347+
"strictPropertyInitialization": true,
348348
"skipLibCheck": true,
349349
"typeRoots": ["./node_modules/@types"],
350350
"rootDir": ".",

src/assets/cdk/tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"strictNullChecks": true,
1111
"noImplicitThis": true,
1212
"alwaysStrict": true,
13-
"noUnusedLocals": false,
14-
"noUnusedParameters": false,
13+
"noUnusedLocals": true,
14+
"noUnusedParameters": true,
1515
"noImplicitReturns": true,
16-
"noFallthroughCasesInSwitch": false,
16+
"noFallthroughCasesInSwitch": true,
1717
"inlineSourceMap": true,
1818
"inlineSources": true,
1919
"experimentalDecorators": true,
20-
"strictPropertyInitialization": false,
20+
"strictPropertyInitialization": true,
2121
"skipLibCheck": true,
2222
"typeRoots": ["./node_modules/@types"],
2323
"rootDir": ".",

0 commit comments

Comments
 (0)