(source, unionTarget)
| 89192 | } |
| 89193 | } |
| 89194 | function findBestTypeForObjectLiteral(source, unionTarget) { |
| 89195 | if (ts.getObjectFlags(source) & 128 /* ObjectFlags.ObjectLiteral */ && someType(unionTarget, isArrayLikeType)) { |
| 89196 | return ts.find(unionTarget.types, function (t) { return !isArrayLikeType(t); }); |
| 89197 | } |
| 89198 | } |
| 89199 | function findBestTypeForInvokable(source, unionTarget) { |
| 89200 | var signatureKind = 0 /* SignatureKind.Call */; |
| 89201 | var hasSignatures = getSignaturesOfType(source, signatureKind).length > 0 || |
no test coverage detected
searching dependent graphs…