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

Function hasNonCircularBaseConstraint

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

Source from the content-addressed store, hash-verified

58943 return getBaseConstraintOfType(type) || type;
58944 }
58945 function hasNonCircularBaseConstraint(type) {
58946 return getResolvedBaseConstraint(type) !== circularConstraintType;
58947 }
58948 /**
58949 * Return the resolved base constraint of a type variable. The noConstraintType singleton is returned if the
58950 * type variable has no constraint, and the circularConstraintType singleton is returned if the constraint

Callers 4

structuredTypeRelatedToFunction · 0.85

Calls 1

Tested by

no test coverage detected