Skip to content

Commit be8606e

Browse files
authored
build: enable strictStandalone flag (#1862)
1 parent 5d5b290 commit be8606e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/app/core/code/files/tsconfig.json.ts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ export default {
2121
lib: ['ES2022', 'dom']
2222
},
2323
angularCompilerOptions: {
24-
enableI18nLegacyMessageIdFormat: false,
25-
strictInjectionParameters: true,
26-
strictInputAccessModifiers: true,
27-
strictTemplates: true
24+
strictStandalone: true,
25+
extendedDiagnostics: {
26+
checks: {
27+
optionalChainNotNullable: 'suppress'
28+
}
29+
}
2830
}
2931
};

0 commit comments

Comments
 (0)