(type)
| 58812 | return ts.arrayFrom(props.values()); |
| 58813 | } |
| 58814 | function getConstraintOfType(type) { |
| 58815 | return type.flags & 262144 /* TypeFlags.TypeParameter */ ? getConstraintOfTypeParameter(type) : |
| 58816 | type.flags & 8388608 /* TypeFlags.IndexedAccess */ ? getConstraintOfIndexedAccess(type) : |
| 58817 | type.flags & 16777216 /* TypeFlags.Conditional */ ? getConstraintOfConditionalType(type) : |
| 58818 | getBaseConstraintOfType(type); |
| 58819 | } |
| 58820 | function getConstraintOfTypeParameter(typeParameter) { |
| 58821 | return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : undefined; |
| 58822 | } |
no test coverage detected
searching dependent graphs…