MCPcopy Create free account
hub / github.com/nodejs/node / instantiateType

Function instantiateType

test/fixtures/snapshot/typescript.js:63628–63630  ·  view source on GitHub ↗
(type, mapper)

Source from the content-addressed store, hash-verified

63626 return type;
63627 }
63628 function instantiateType(type, mapper) {
63629 return type && mapper ? instantiateTypeWithAlias(type, mapper, /*aliasSymbol*/ undefined, /*aliasTypeArguments*/ undefined) : type;
63630 }
63631 function instantiateTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) {
63632 if (!couldContainTypeVariables(type)) {
63633 return type;

Calls 1

instantiateTypeWithAliasFunction · 0.85

Tested by

no test coverage detected