(type, kind)
| 69950 | mapType(type, mapper); |
| 69951 | } |
| 69952 | function extractTypesOfKind(type, kind) { |
| 69953 | return filterType(type, function (t) { return (t.flags & kind) !== 0; }); |
| 69954 | } |
| 69955 | // Return a new type in which occurrences of the string, number and bigint primitives and placeholder template |
| 69956 | // literal types in typeWithPrimitives have been replaced with occurrences of compatible and more specific types |
| 69957 | // from typeWithLiterals. This is essentially a limited form of intersection between the two types. We avoid a |
no test coverage detected