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

This commit is contained in:
Philippe Voinov authored and Mohamed Hegazy committed 2018-01-19 17:32:37 -08:00
1 parent d1ff12e0a6
commit a7c53c70d2
1 file changed
+1 -1
+1 -1
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 {