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

Function getConstraintOfTypeParameter

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

Source from the content-addressed store, hash-verified

58818 getBaseConstraintOfType(type);
58819 }
58820 function getConstraintOfTypeParameter(typeParameter) {
58821 return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : undefined;
58822 }
58823 function getConstraintOfIndexedAccess(type) {
58824 return hasNonCircularBaseConstraint(type) ? getConstraintFromIndexedAccess(type) : undefined;
58825 }

Calls 2

Tested by

no test coverage detected