Skip to content

Commit db69ec1

Browse files
getCallLikeInvoker -> getInvokedExpression
1 parent b98f6b4 commit db69ec1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/compiler/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ module ts {
475475
}
476476
}
477477

478-
export function getCallLikeInvoker(node: CallLikeExpression): Expression {
478+
export function getInvokedExpression(node: CallLikeExpression): Expression {
479479
if (node.kind === SyntaxKind.TaggedTemplateExpression) {
480480
return (<TaggedTemplateExpression>node).tag;
481481
}

src/services/signatureHelp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ module ts.SignatureHelp {
456456
var isTypeParameterList = argumentListInfo.kind === ArgumentListKind.TypeArguments;
457457

458458
var invocation = argumentListInfo.invocation;
459-
var invokerNode = getCallLikeInvoker(invocation)
459+
var invokerNode = getInvokedExpression(invocation)
460460
var invokerSymbol = typeInfoResolver.getSymbolInfo(invokerNode);
461461
var invokerDisplayParts = invokerSymbol && symbolToDisplayParts(typeInfoResolver, invokerSymbol, /*enclosingDeclaration*/ undefined, /*meaning*/ undefined);
462462
var items: SignatureHelpItem[] = map(candidates, candidateSignature => {

0 commit comments

Comments
 (0)