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

Function getGlobalOmitSymbol

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

Source from the content-addressed store, hash-verified

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);
60772 return deferredGlobalOmitSymbol === unknownSymbol ? undefined : deferredGlobalOmitSymbol;
60773 }
60774 function getGlobalAwaitedSymbol(reportErrors) {
60775 // Only cache `unknownSymbol` if we are reporting errors so that we don't report the error more than once.
60776 deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol("Awaited", /*arity*/ 1, reportErrors) || (reportErrors ? unknownSymbol : undefined));

Callers 1

getRestTypeFunction · 0.85

Calls 1

getGlobalTypeAliasSymbolFunction · 0.85

Tested by

no test coverage detected