(type)
| 63893 | return false; |
| 63894 | } |
| 63895 | function isOrHasGenericConditional(type) { |
| 63896 | return !!(type.flags & 16777216 /* TypeFlags.Conditional */ || (type.flags & 2097152 /* TypeFlags.Intersection */ && ts.some(type.types, isOrHasGenericConditional))); |
| 63897 | } |
| 63898 | function elaborateError(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) { |
| 63899 | if (!node || isOrHasGenericConditional(target)) |
| 63900 | return false; |