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

Function hasTypeParameterDefault

test/fixtures/snapshot/typescript.js:59104–59106  ·  view source on GitHub ↗

* Indicates whether the declaration of a typeParameter has a default type.

(typeParameter)

Source from the content-addressed store, hash-verified

59102 * Indicates whether the declaration of a typeParameter has a default type.
59103 */
59104 function hasTypeParameterDefault(typeParameter) {
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 }

Callers 1

getMinTypeArgumentCountFunction · 0.85

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…