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

Function getConstraintOfIndexedAccess

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

Source from the content-addressed store, hash-verified

58821 return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : undefined;
58822 }
58823 function getConstraintOfIndexedAccess(type) {
58824 return hasNonCircularBaseConstraint(type) ? getConstraintFromIndexedAccess(type) : undefined;
58825 }
58826 function getSimplifiedTypeOrConstraint(type) {
58827 var simplified = getSimplifiedType(type, /*writing*/ false);
58828 return simplified !== type ? simplified : getConstraintOfType(type);

Callers 1

getConstraintOfTypeFunction · 0.85

Calls 2

Tested by

no test coverage detected