* We syntactually check for common nondistributive conditional shapes and unwrap them into * the intended comparison - we do this so we can check if the unwrapped types are generic or * not and appropriately defer condition calculation
(root, type)
| 62526 | * not and appropriately defer condition calculation |
| 62527 | */ |
| 62528 | function unwrapNondistributiveConditionalTuple(root, type) { |
| 62529 | return isTypicalNondistributiveConditional(root) && isTupleType(type) ? getTypeArguments(type)[0] : type; |
| 62530 | } |
| 62531 | function getConditionalType(root, mapper, aliasSymbol, aliasTypeArguments) { |
| 62532 | var result; |
| 62533 | var extraTypes; |
no test coverage detected
searching dependent graphs…