(source, target)
| 69404 | return false; |
| 69405 | } |
| 69406 | function optionalChainContainsReference(source, target) { |
| 69407 | while (ts.isOptionalChain(source)) { |
| 69408 | source = source.expression; |
| 69409 | if (isMatchingReference(source, target)) { |
| 69410 | return true; |
| 69411 | } |
| 69412 | } |
| 69413 | return false; |
| 69414 | } |
| 69415 | function isDiscriminantProperty(type, name) { |
| 69416 | if (type && type.flags & 1048576 /* TypeFlags.Union */) { |
| 69417 | var prop = getUnionOrIntersectionProperty(type, name); |
no test coverage detected
searching dependent graphs…