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

Function getGlobalExtractSymbol

test/fixtures/snapshot/typescript.js:60764–60768  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60762 return symbol && getTypeOfGlobalSymbol(symbol, arity);
60763 }
60764 function getGlobalExtractSymbol() {
60765 // We always report an error, so cache a result in the event we could not resolve the symbol to prevent reporting it multiple times
60766 deferredGlobalExtractSymbol || (deferredGlobalExtractSymbol = getGlobalTypeAliasSymbol("Extract", /*arity*/ 2, /*reportErrors*/ true) || unknownSymbol);
60767 return deferredGlobalExtractSymbol === unknownSymbol ? undefined : deferredGlobalExtractSymbol;
60768 }
60769 function getGlobalOmitSymbol() {
60770 // We always report an error, so cache a result in the event we could not resolve the symbol to prevent reporting it multiple times
60771 deferredGlobalOmitSymbol || (deferredGlobalOmitSymbol = getGlobalTypeAliasSymbol("Omit", /*arity*/ 2, /*reportErrors*/ true) || unknownSymbol);

Callers 1

getExtractStringTypeFunction · 0.85

Calls 1

getGlobalTypeAliasSymbolFunction · 0.85

Tested by

no test coverage detected