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

Function cloneTypeParameter

test/fixtures/snapshot/typescript.js:63342–63346  ·  view source on GitHub ↗
(typeParameter)

Source from the content-addressed store, hash-verified

63340 tp.restrictiveInstantiation);
63341 }
63342 function cloneTypeParameter(typeParameter) {
63343 var result = createTypeParameter(typeParameter.symbol);
63344 result.target = typeParameter;
63345 return result;
63346 }
63347 function instantiateTypePredicate(predicate, mapper) {
63348 return createTypePredicate(predicate.kind, predicate.parameterName, predicate.parameterIndex, instantiateType(predicate.type, mapper));
63349 }

Callers 2

maybeCloneTypeParameterFunction · 0.85
instantiateAnonymousTypeFunction · 0.85

Calls 1

createTypeParameterFunction · 0.85

Tested by

no test coverage detected