MCPcopy Index your code
hub / github.com/nodejs/node / getInstantiatedSignatures

Function getInstantiatedSignatures

test/fixtures/snapshot/typescript.js:77408–77414  ·  view source on GitHub ↗
(signatures)

Source from the content-addressed store, hash-verified

77406 }
77407 }
77408 function getInstantiatedSignatures(signatures) {
77409 var applicableSignatures = ts.filter(signatures, function (sig) { return !!sig.typeParameters && hasCorrectTypeArgumentArity(sig, typeArguments); });
77410 return ts.sameMap(applicableSignatures, function (sig) {
77411 var typeArgumentTypes = checkTypeArguments(sig, typeArguments, /*reportErrors*/ true);
77412 return typeArgumentTypes ? getSignatureInstantiation(sig, typeArgumentTypes, ts.isInJSFile(sig.declaration)) : sig;
77413 });
77414 }
77415 }
77416 function checkMetaProperty(node) {
77417 checkGrammarMetaProperty(node);

Callers 1

getInstantiatedTypePartFunction · 0.85

Calls 4

checkTypeArgumentsFunction · 0.85
filterMethod · 0.65

Tested by

no test coverage detected