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

Function getWriteTypeOfSymbolWithDeferredType

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

Source from the content-addressed store, hash-verified

56859 return links.type;
56860 }
56861 function getWriteTypeOfSymbolWithDeferredType(symbol) {
56862 var links = getSymbolLinks(symbol);
56863 if (!links.writeType && links.deferralWriteConstituents) {
56864 ts.Debug.assertIsDefined(links.deferralParent);
56865 ts.Debug.assertIsDefined(links.deferralConstituents);
56866 links.writeType = links.deferralParent.flags & 1048576 /* TypeFlags.Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);
56867 }
56868 return links.writeType;
56869 }
56870 /**
56871 * Distinct write types come only from set accessors, but synthetic union and intersection
56872 * properties deriving from set accessors will either pre-compute or defer the union or

Callers 1

getWriteTypeOfSymbolFunction · 0.85

Calls 3

getSymbolLinksFunction · 0.85
getUnionTypeFunction · 0.85
getIntersectionTypeFunction · 0.85

Tested by

no test coverage detected