File tree Expand file tree Collapse file tree 16 files changed +16
-16
lines changed
tests/baselines/reference
Default initialized TSConfig
Initialized TSConfig with advanced options
Initialized TSConfig with boolean value compiler options
Initialized TSConfig with enum value compiler options
Initialized TSConfig with files options
Initialized TSConfig with incorrect compiler option
Initialized TSConfig with incorrect compiler option value
Initialized TSConfig with list compiler options
Initialized TSConfig with list compiler options with enum value
tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit Expand file tree Collapse file tree 16 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -727,7 +727,7 @@ namespace ts {
727
727
type : "boolean" ,
728
728
affectsSemanticDiagnostics : true ,
729
729
category : Diagnostics . Type_Checking ,
730
- description : Diagnostics . Add_undefined_to_a_type_when_accessed_using_an_index
730
+ description : Diagnostics . Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier
731
731
} ,
732
732
{
733
733
name : "noPropertyAccessFromIndexSignature" ,
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change 88
88
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
89
89
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
90
90
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
91
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
91
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
92
92
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
93
93
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
94
94
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ interface Array<T> { length: number; [n: number]: T; }
109
109
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
110
110
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
111
111
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
112
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
112
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
113
113
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
114
114
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
115
115
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ interface Array<T> { length: number; [n: number]: T; }
109
109
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
110
110
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
111
111
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
112
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
112
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
113
113
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
114
114
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
115
115
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ interface Array<T> { length: number; [n: number]: T; }
109
109
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
110
110
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
111
111
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
112
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
112
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
113
113
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
114
114
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
115
115
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ interface Array<T> { length: number; [n: number]: T; }
109
109
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
110
110
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
111
111
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
112
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
112
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
113
113
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
114
114
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
115
115
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ interface Array<T> { length: number; [n: number]: T; }
109
109
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
110
110
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
111
111
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
112
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
112
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
113
113
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
114
114
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
115
115
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ interface Array<T> { length: number; [n: number]: T; }
109
109
// "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
110
110
// "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
111
111
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
112
- // "noImplicitOverride": true, /* Add `undefined` to a type when accessed using an index . */
112
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier . */
113
113
// "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */
114
114
// "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
115
115
// "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
You can’t perform that action at this time.
0 commit comments