Skip to content

Commit a7c53c7

Browse files
tehwalrismhegazy
authored andcommitted
Fix isTypeOfExpression in compiler API (microsoft#20875). (microsoft#20884)
1 parent d1ff12e commit a7c53c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/compiler/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4704,7 +4704,7 @@ namespace ts {
47044704
}
47054705

47064706
export function isTypeOfExpression(node: Node): node is TypeOfExpression {
4707-
return node.kind === SyntaxKind.AwaitExpression;
4707+
return node.kind === SyntaxKind.TypeOfExpression;
47084708
}
47094709

47104710
export function isVoidExpression(node: Node): node is VoidExpression {

0 commit comments

Comments
 (0)