We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d67f8e commit a20e59cCopy full SHA for a20e59c
src/compiler/program.ts
@@ -2062,6 +2062,10 @@ namespace ts {
2062
}
2063
2064
function verifyCompilerOptions() {
2065
+ if (options.strictPropertyInitialization && !options.strictNullChecks) {
2066
+ createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, "strictPropertyInitialization", "strictNullChecks");
2067
+ }
2068
+
2069
if (options.isolatedModules) {
2070
if (options.declaration) {
2071
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, "declaration", "isolatedModules");
0 commit comments