Fix isTypeOfExpression in compiler API (#20875). (#20884)

This commit is contained in:
Philippe Voinov
2018-01-20 02:32:37 +01:00
committed by Mohamed Hegazy
parent d1ff12e0a6
commit a7c53c70d2

View File

@@ -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 {