MCPcopy Create free account
hub / github.com/nodejs/node / getLastCallSignature

Function getLastCallSignature

test/fixtures/snapshot/typescript.js:151941–151944  ·  view source on GitHub ↗
(type, checker)

Source from the content-addressed store, hash-verified

151939 return !!checker.getPromisedTypeOfPromise(type) ? ts.factory.createAwaitExpression(rightHandSide) : rightHandSide;
151940 }
151941 function getLastCallSignature(type, checker) {
151942 var callSignatures = checker.getSignaturesOfType(type, 0 /* SignatureKind.Call */);
151943 return ts.lastOrUndefined(callSignatures);
151944 }
151945 function removeReturns(stmts, prevArgName, transformer, seenReturnStatement) {
151946 var ret = [];
151947 for (var _i = 0, stmts_1 = stmts; _i < stmts_1.length; _i++) {

Callers 2

renameCollidingVarNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected