Skip to content

Commit 1485e4a

Browse files
Enable nullish/optional-chain template diagnostics for clean example code
1 parent b1852a8 commit 1485e4a

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

Angular/tsconfig.app.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,5 @@
1010
],
1111
"include": [
1212
"src/**/*.d.ts"
13-
],
14-
"angularCompilerOptions": {
15-
"extendedDiagnostics": {
16-
"checks": {
17-
"nullishCoalescingNotNullable": "suppress",
18-
"optionalChainNotNullable": "suppress"
19-
}
20-
}
21-
}
13+
]
2214
}

Angular/tsconfig.spec.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,5 @@
1010
"include": [
1111
"src/**/*.spec.ts",
1212
"src/**/*.d.ts"
13-
],
14-
"angularCompilerOptions": {
15-
"extendedDiagnostics": {
16-
"checks": {
17-
"nullishCoalescingNotNullable": "suppress",
18-
"optionalChainNotNullable": "suppress"
19-
}
20-
}
21-
}
13+
]
2214
}

0 commit comments

Comments
 (0)