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

Function getSignaturesOfType

test/fixtures/snapshot/typescript.js:59441–59443  ·  view source on GitHub ↗

* Return the signatures of the given kind in the given type. Creates synthetic union signatures when necessary and * maps primitive types and type parameters are to their apparent types.

(type, kind)

Source from the content-addressed store, hash-verified

59439 * maps primitive types and type parameters are to their apparent types.
59440 */
59441 function getSignaturesOfType(type, kind) {
59442 return getSignaturesOfStructuredType(getReducedApparentType(type), kind);
59443 }
59444 function findIndexInfo(indexInfos, keyType) {
59445 return ts.find(indexInfos, function (info) { return info.keyType === keyType; });
59446 }

Calls 2

getReducedApparentTypeFunction · 0.85

Tested by

no test coverage detected