(type, mapper, aliasSymbol, aliasTypeArguments)
| 69945 | return changed ? mappedTypes && getUnionType(mappedTypes, noReductions ? 0 /* UnionReduction.None */ : 1 /* UnionReduction.Literal */) : type; |
| 69946 | } |
| 69947 | function mapTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) { |
| 69948 | return type.flags & 1048576 /* TypeFlags.Union */ && aliasSymbol ? |
| 69949 | getUnionType(ts.map(type.types, mapper), 1 /* UnionReduction.Literal */, aliasSymbol, aliasTypeArguments) : |
| 69950 | mapType(type, mapper); |
| 69951 | } |
| 69952 | function extractTypesOfKind(type, kind) { |
| 69953 | return filterType(type, function (t) { return (t.flags & kind) !== 0; }); |
| 69954 | } |
no test coverage detected
searching dependent graphs…