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

Function getApparentTypeOfMappedType

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

Source from the content-addressed store, hash-verified

59105 return !!(typeParameter.symbol && ts.forEach(typeParameter.symbol.declarations, function (decl) { return ts.isTypeParameterDeclaration(decl) && decl.default; }));
59106 }
59107 function getApparentTypeOfMappedType(type) {
59108 return type.resolvedApparentType || (type.resolvedApparentType = getResolvedApparentTypeOfMappedType(type));
59109 }
59110 function getResolvedApparentTypeOfMappedType(type) {
59111 var typeVariable = getHomomorphicTypeVariable(type);
59112 if (typeVariable && !type.declaration.nameType) {

Callers 1

getApparentTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…