(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); |
| 58829 | } |
| 58830 | function getConstraintFromIndexedAccess(type) { |
| 58831 | if (isMappedTypeGenericIndexedAccess(type)) { |
| 58832 | // For indexed access types of the form { [P in K]: E }[X], where K is non-generic and X is generic, |
no test coverage detected
searching dependent graphs…