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>([
4444 DiagnosticCode . MemberMustHaveOverrideModifier ,
4545 DiagnosticCode . StringLiteralTypeIsNotAssignableToUnionTypeWithSuggestion ,
4646 DiagnosticCode . ObjectLiteralMayOnlySpecifyKnownProperties ,
47+ DiagnosticCode . ObjectLiteralMayOnlySpecifyKnownProperties2 ,
4748] ) ;
4849
4950type IgnoreDiagnosticResult = 'preserve' | 'ignore' | Location ;
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export enum DiagnosticCode {
4040 OnlyVoidFunctionIsNewCallable = 2350 ,
4141 ExpressionNotConstructable = 2351 ,
4242 ObjectLiteralMayOnlySpecifyKnownProperties = 2353 ,
43+ ObjectLiteralMayOnlySpecifyKnownProperties2 = 2561 ,
4344 TypeNotAssignableWithExactOptionalPropertyTypes = 2375 ,
4445 TypeNotAssignableToParameterWithExactOptionalPropertyTypes = 2379 ,
4546 TypeNotAssignableTypeOfTargetWithExactOptionalPropertyTypes = 2412 ,
You can’t perform that action at this time.
0 commit comments