(left, right, mapper)
| 73188 | : undefined; |
| 73189 | } |
| 73190 | function combineIntersectionThisParam(left, right, mapper) { |
| 73191 | if (!left || !right) { |
| 73192 | return left || right; |
| 73193 | } |
| 73194 | // A signature `this` type might be a read or a write position... It's very possible that it should be invariant |
| 73195 | // and we should refuse to merge signatures if there are `this` types and they do not match. However, so as to be |
| 73196 | // pessimistic when contextual typing, for now, we'll union the `this` types. |
| 73197 | var thisType = getUnionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]); |
| 73198 | return createSymbolWithType(left, thisType); |
| 73199 | } |
| 73200 | function combineIntersectionParameters(left, right, mapper) { |
| 73201 | var leftCount = getParameterCount(left); |
| 73202 | var rightCount = getParameterCount(right); |
no test coverage detected
searching dependent graphs…