(flags, types)
| 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 |
no test coverage detected
searching dependent graphs…