(root)
| 62511 | return constraint && (isGenericObjectType(constraint) || isGenericIndexType(constraint)) ? cloneTypeParameter(p) : p; |
| 62512 | } |
| 62513 | function isTypicalNondistributiveConditional(root) { |
| 62514 | return !root.isDistributive && isSingletonTupleType(root.node.checkType) && isSingletonTupleType(root.node.extendsType); |
| 62515 | } |
| 62516 | function isSingletonTupleType(node) { |
| 62517 | return ts.isTupleTypeNode(node) && |
| 62518 | ts.length(node.elements) === 1 && |
no test coverage detected