diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 6a421bf6948..bf6a086967c 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -4704,7 +4704,7 @@ namespace ts { } export function isTypeOfExpression(node: Node): node is TypeOfExpression { - return node.kind === SyntaxKind.AwaitExpression; + return node.kind === SyntaxKind.TypeOfExpression; } export function isVoidExpression(node: Node): node is VoidExpression {