mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-11 10:46:28 -05:00
Addressed CR feedback.
This commit is contained in:
@@ -479,9 +479,9 @@ module ts {
|
||||
if (node.kind === SyntaxKind.TaggedTemplateExpression) {
|
||||
return (<TaggedTemplateExpression>node).tag;
|
||||
}
|
||||
else {
|
||||
return (<CallExpression>node).func;
|
||||
}
|
||||
|
||||
// Will either be a CallExpression or NewExpression.
|
||||
return (<CallExpression>node).func;
|
||||
}
|
||||
|
||||
export function isExpression(node: Node): boolean {
|
||||
|
||||
Reference in New Issue
Block a user