Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b8dc9b

Browse files
authored
Actually add ts2353 to known errors (#204)
1 parent 34dfd0f commit 9b8dc9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/lib/compiler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const expectErrorDiagnosticCodesToIgnore = new Set<DiagnosticCode>([
4343
DiagnosticCode.MemberCannotHaveOverrideModifierBecauseItIsNotDeclaredInBaseClass,
4444
DiagnosticCode.MemberMustHaveOverrideModifier,
4545
DiagnosticCode.StringLiteralTypeIsNotAssignableToUnionTypeWithSuggestion,
46+
DiagnosticCode.ObjectLiteralMayOnlySpecifyKnownProperties,
4647
]);
4748

4849
type IgnoreDiagnosticResult = 'preserve' | 'ignore' | Location;

0 commit comments

Comments
 (0)