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

Function combineTypeMappers

test/fixtures/snapshot/typescript.js:63325–63327  ·  view source on GitHub ↗
(mapper1, mapper2)

Source from the content-addressed store, hash-verified

63323 return makeFunctionTypeMapper(function (t) { return ts.findIndex(context.inferences, function (info) { return info.typeParameter === t; }) >= index ? unknownType : t; });
63324 }
63325 function combineTypeMappers(mapper1, mapper2) {
63326 return mapper1 ? makeCompositeTypeMapper(3 /* TypeMapKind.Composite */, mapper1, mapper2) : mapper2;
63327 }
63328 function mergeTypeMappers(mapper1, mapper2) {
63329 return mapper1 ? makeCompositeTypeMapper(4 /* TypeMapKind.Merged */, mapper1, mapper2) : mapper2;
63330 }

Callers 10

_loop_18Function · 0.85
canTailRecurseFunction · 0.85
instantiateSignatureFunction · 0.85
instantiateSymbolFunction · 0.85
instantiateAnonymousTypeFunction · 0.85
instantiateTypeWorkerFunction · 0.85

Calls 1

makeCompositeTypeMapperFunction · 0.85

Tested by

no test coverage detected