Skip to content

Commit

Permalink
Fix expected message
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Jul 21, 2022
1 parent e9aa5ef commit b4670c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ describe('TypeScript Plugin#DiagnosticsProvider', () => {
{
code: 2322,
message:
"Type '{}' is not assignable to type 'IntrinsicAttributes & { notOptional: any; optional?: string; }'.\nProperty 'notOptional' is missing in type '{}' but required in type '{ notOptional: any; optional?: string; }'.",
"Type '{}' is not assignable to type 'IntrinsicAttributes & { notOptional: any; optional?: string; }'.\n Property 'notOptional' is missing in type '{}' but required in type '{ notOptional: any; optional?: string; }'.",
range: Range.create(4, 1, 4, 20),
severity: DiagnosticSeverity.Error,
source: 'ts',
Expand Down

0 comments on commit b4670c1

Please sign in to comment.