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

Function createCombinedSymbolFromTypes

test/fixtures/snapshot/typescript.js:76371–76373  ·  view source on GitHub ↗
(sources, types)

Source from the content-addressed store, hash-verified

76369 return signatureHasRestParameter(signature) ? numParams - 1 : numParams;
76370 }
76371 function createCombinedSymbolFromTypes(sources, types) {
76372 return createCombinedSymbolForOverloadFailure(sources, getUnionType(types, 2 /* UnionReduction.Subtype */));
76373 }
76374 function createCombinedSymbolForOverloadFailure(sources, type) {
76375 // This function is currently only used for erroneous overloads, so it's good enough to just use the first source.
76376 return createSymbolWithType(ts.first(sources), type);

Callers 2

_loop_26Function · 0.85

Calls 2

getUnionTypeFunction · 0.85

Tested by

no test coverage detected