(types)
| 67397 | } |
| 67398 | // Return the leftmost type for which no type to the right is a subtype. |
| 67399 | function getCommonSubtype(types) { |
| 67400 | return ts.reduceLeft(types, function (s, t) { return isTypeSubtypeOf(t, s) ? t : s; }); |
| 67401 | } |
| 67402 | function isArrayType(type) { |
| 67403 | return !!(ts.getObjectFlags(type) & 4 /* ObjectFlags.Reference */) && (type.target === globalArrayType || type.target === globalReadonlyArrayType); |
| 67404 | } |
no test coverage detected