Skip to content

Commit

Permalink
Add ts2739 to known errors (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie authored Jun 17, 2024
1 parent fa33d83 commit cc31c6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/lib/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ const expectErrorDiagnosticCodesToIgnore = new Set<DiagnosticCode>([
DiagnosticCode.NoOverloadExpectsCountOfArguments,
DiagnosticCode.NoOverloadExpectsCountOfTypeArguments,
DiagnosticCode.NoOverloadMatches,
DiagnosticCode.Type1IsMissingPropertiesFromType2,
DiagnosticCode.Type1IsMissingPropertiesFromType2Variant1,
DiagnosticCode.Type1IsMissingPropertiesFromType2Variant2,
DiagnosticCode.PropertyMissingInType1ButRequiredInType2,
DiagnosticCode.TypeHasNoPropertiesInCommonWith,
DiagnosticCode.ThisContextOfTypeNotAssignableToMethodOfThisType,
Expand Down
3 changes: 2 additions & 1 deletion source/lib/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export enum DiagnosticCode {
IndexSignatureOnlyPermitsReading = 2542,
NoOverloadExpectsCountOfArguments = 2575,
ThisContextOfTypeNotAssignableToMethodOfThisType = 2684,
Type1IsMissingPropertiesFromType2 = 2740,
Type1IsMissingPropertiesFromType2Variant1 = 2739,
Type1IsMissingPropertiesFromType2Variant2 = 2740,
PropertyMissingInType1ButRequiredInType2 = 2741,
NoOverloadExpectsCountOfTypeArguments = 2743,
NoOverloadMatches = 2769,
Expand Down

0 comments on commit cc31c6e

Please sign in to comment.