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

Function extractTypesOfKind

test/fixtures/snapshot/typescript.js:69952–69954  ·  view source on GitHub ↗
(type, kind)

Source from the content-addressed store, hash-verified

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

Calls 1

filterTypeFunction · 0.85

Tested by

no test coverage detected