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

Function hasNonCircularTypeParameterDefault

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

Source from the content-addressed store, hash-verified

59096 return defaultType !== noConstraintType && defaultType !== circularConstraintType ? defaultType : undefined;
59097 }
59098 function hasNonCircularTypeParameterDefault(typeParameter) {
59099 return getResolvedTypeParameterDefault(typeParameter) !== circularConstraintType;
59100 }
59101 /**
59102 * Indicates whether the declaration of a typeParameter has a default type.
59103 */

Callers 1

checkTypeParameterFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…