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

Function getGlobalPromiseConstructorLikeType

test/fixtures/snapshot/typescript.js:60726–60728  ·  view source on GitHub ↗
(reportErrors)

Source from the content-addressed store, hash-verified

60724 return deferredGlobalPromiseConstructorSymbol || (deferredGlobalPromiseConstructorSymbol = getGlobalValueSymbol("Promise", reportErrors));
60725 }
60726 function getGlobalPromiseConstructorLikeType(reportErrors) {
60727 return (deferredGlobalPromiseConstructorLikeType || (deferredGlobalPromiseConstructorLikeType = getGlobalType("PromiseConstructorLike", /*arity*/ 0, reportErrors))) || emptyObjectType;
60728 }
60729 function getGlobalAsyncIterableType(reportErrors) {
60730 return (deferredGlobalAsyncIterableType || (deferredGlobalAsyncIterableType = getGlobalType("AsyncIterable", /*arity*/ 1, reportErrors))) || emptyGenericType;
60731 }

Callers 1

Calls 1

getGlobalTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…