(leftType, rightType, isRelated)
| 79368 | } |
| 79369 | } |
| 79370 | function getBaseTypesIfUnrelated(leftType, rightType, isRelated) { |
| 79371 | var effectiveLeft = leftType; |
| 79372 | var effectiveRight = rightType; |
| 79373 | var leftBase = getBaseTypeOfLiteralType(leftType); |
| 79374 | var rightBase = getBaseTypeOfLiteralType(rightType); |
| 79375 | if (!isRelated(leftBase, rightBase)) { |
| 79376 | effectiveLeft = leftBase; |
| 79377 | effectiveRight = rightBase; |
| 79378 | } |
| 79379 | return [effectiveLeft, effectiveRight]; |
| 79380 | } |
| 79381 | function checkYieldExpression(node) { |
| 79382 | addLazyDiagnostic(checkYieldExpressionGrammar); |
| 79383 | var func = ts.getContainingFunction(node); |
no test coverage detected
searching dependent graphs…