File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ const expectErrorDiagnosticCodesToIgnore = new Set<DiagnosticCode>([
44
44
DiagnosticCode . MemberMustHaveOverrideModifier ,
45
45
DiagnosticCode . StringLiteralTypeIsNotAssignableToUnionTypeWithSuggestion ,
46
46
DiagnosticCode . ObjectLiteralMayOnlySpecifyKnownProperties ,
47
+ DiagnosticCode . ObjectLiteralMayOnlySpecifyKnownProperties2 ,
47
48
] ) ;
48
49
49
50
type IgnoreDiagnosticResult = 'preserve' | 'ignore' | Location ;
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export enum DiagnosticCode {
40
40
OnlyVoidFunctionIsNewCallable = 2350 ,
41
41
ExpressionNotConstructable = 2351 ,
42
42
ObjectLiteralMayOnlySpecifyKnownProperties = 2353 ,
43
+ ObjectLiteralMayOnlySpecifyKnownProperties2 = 2561 ,
43
44
TypeNotAssignableWithExactOptionalPropertyTypes = 2375 ,
44
45
TypeNotAssignableToParameterWithExactOptionalPropertyTypes = 2379 ,
45
46
TypeNotAssignableTypeOfTargetWithExactOptionalPropertyTypes = 2412 ,
You can’t perform that action at this time.
0 commit comments