MCPcopy Create free account
hub / github.com/nodejs/node / getBaseConstraint

Function getBaseConstraint

test/fixtures/snapshot/typescript.js:58993–58996  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

58991 return t.immediateBaseConstraint;
58992 }
58993 function getBaseConstraint(t) {
58994 var c = getImmediateBaseConstraint(t);
58995 return c !== noConstraintType && c !== circularConstraintType ? c : undefined;
58996 }
58997 function computeBaseConstraint(t) {
58998 if (t.flags & 262144 /* TypeFlags.TypeParameter */) {
58999 var constraint = getConstraintFromTypeParameter(t);

Callers 1

computeBaseConstraintFunction · 0.85

Calls 1

Tested by

no test coverage detected