(exprType, expression)
| 67662 | return wasOptional ? ts.isOutermostOptionalChain(node) ? getOptionalType(type) : addOptionalTypeMarker(type) : type; |
| 67663 | } |
| 67664 | function getOptionalExpressionType(exprType, expression) { |
| 67665 | return ts.isExpressionOfOptionalChainRoot(expression) ? getNonNullableType(exprType) : |
| 67666 | ts.isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) : |
| 67667 | exprType; |
| 67668 | } |
| 67669 | function removeMissingType(type, isOptional) { |
| 67670 | return exactOptionalPropertyTypes && isOptional ? removeType(type, missingType) : type; |
| 67671 | } |
no test coverage detected
searching dependent graphs…