File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
append ,
7
7
arrayFrom ,
8
8
arrayIsEqualTo ,
9
- AsExpression ,
10
9
AssertClause ,
10
+ AssertionExpression ,
11
11
BuilderProgram ,
12
12
CancellationToken ,
13
13
canHaveDecorators ,
@@ -2931,7 +2931,7 @@ export function createProgram(rootNamesOrOptions: readonly string[] | CreateProg
2931
2931
return "skip" ;
2932
2932
case SyntaxKind . AsExpression :
2933
2933
case SyntaxKind . TypeAssertionExpression :
2934
- diagnostics . push ( createDiagnosticForNode ( ( node as AsExpression ) . type , Diagnostics . Type_assertion_expressions_can_only_be_used_in_TypeScript_files ) ) ;
2934
+ diagnostics . push ( createDiagnosticForNode ( ( node as AssertionExpression ) . type , Diagnostics . Type_assertion_expressions_can_only_be_used_in_TypeScript_files ) ) ;
2935
2935
return "skip" ;
2936
2936
case SyntaxKind . SatisfiesExpression :
2937
2937
diagnostics . push ( createDiagnosticForNode ( ( node as SatisfiesExpression ) . type , Diagnostics . Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files ) ) ;
You can’t perform that action at this time.
0 commit comments