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

Function getTypeOfSymbolWithDeferredType

test/fixtures/snapshot/typescript.js:56852–56860  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

56850 return anyType;
56851 }
56852 function getTypeOfSymbolWithDeferredType(symbol) {
56853 var links = getSymbolLinks(symbol);
56854 if (!links.type) {
56855 ts.Debug.assertIsDefined(links.deferralParent);
56856 ts.Debug.assertIsDefined(links.deferralConstituents);
56857 links.type = links.deferralParent.flags & 1048576 /* TypeFlags.Union */ ? getUnionType(links.deferralConstituents) : getIntersectionType(links.deferralConstituents);
56858 }
56859 return links.type;
56860 }
56861 function getWriteTypeOfSymbolWithDeferredType(symbol) {
56862 var links = getSymbolLinks(symbol);
56863 if (!links.writeType && links.deferralWriteConstituents) {

Callers 2

getWriteTypeOfSymbolFunction · 0.85
getTypeOfSymbolFunction · 0.85

Calls 3

getSymbolLinksFunction · 0.85
getUnionTypeFunction · 0.85
getIntersectionTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…