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

Function createOriginUnionOrIntersectionType

test/fixtures/snapshot/typescript.js:61273–61277  ·  view source on GitHub ↗
(flags, types)

Source from the content-addressed store, hash-verified

61271 }
61272 }
61273 function createOriginUnionOrIntersectionType(flags, types) {
61274 var result = createOriginType(flags);
61275 result.types = types;
61276 return result;
61277 }
61278 // We sort and deduplicate the constituent types based on object identity. If the subtypeReduction
61279 // flag is specified we also reduce the constituent type set to only include types that aren't subtypes
61280 // of other types. Subtype reduction is expensive for large union types and is possible only when union

Callers 3

getUnionTypeFunction · 0.85
getIntersectionTypeFunction · 0.85
filterTypeFunction · 0.85

Calls 1

createOriginTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…