(type)
| 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); |
no test coverage detected