* Returns true if an error is reported
(typesAreCompatible)
| 79323 | * Returns true if an error is reported |
| 79324 | */ |
| 79325 | function reportOperatorErrorUnless(typesAreCompatible) { |
| 79326 | if (!typesAreCompatible(leftType, rightType)) { |
| 79327 | reportOperatorError(typesAreCompatible); |
| 79328 | return true; |
| 79329 | } |
| 79330 | return false; |
| 79331 | } |
| 79332 | function reportOperatorError(isRelated) { |
| 79333 | var _a; |
| 79334 | var wouldWorkWithAwait = false; |
no test coverage detected
searching dependent graphs…