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

Function getTypeParameterFromMappedType

test/fixtures/snapshot/typescript.js:58631–58634  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

58629 return symbol.type;
58630 }
58631 function getTypeParameterFromMappedType(type) {
58632 return type.typeParameter ||
58633 (type.typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfNode(type.declaration.typeParameter)));
58634 }
58635 function getConstraintTypeFromMappedType(type) {
58636 return type.constraintType ||
58637 (type.constraintType = getConstraintOfTypeParameter(getTypeParameterFromMappedType(type)) || errorType);

Calls 2

getSymbolOfNodeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…