You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's a pretty much understandable issue without a repro, let me know if you absolutely need one.
Expected behavior
I thought ts-morph would at least returns true to isIntersection, I know resolving the value can be very complex but I don't understand why some checker actually return false except isString.
Let me know if you need more context/information. Happy to help also if you give me precise hints :)
The text was updated successfully, but these errors were encountered:
Describe the bug
Version: 24.0.0
I've hit this issue when I was introspecting some intersection type and couldn't actually resolve to the correct type.
For example:
string | null
only returns mestring
.Here's an example of what
ts-morph
returns and the comparison with the actual TS compiler API:To Reproduce
I think it's a pretty much understandable issue without a repro, let me know if you absolutely need one.
Expected behavior
I thought
ts-morph
would at least returns true toisIntersection
, I know resolving the value can be very complex but I don't understand why some checker actually return false exceptisString
.Let me know if you need more context/information. Happy to help also if you give me precise hints :)
The text was updated successfully, but these errors were encountered: