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
three and four both have errors, even though their satisfies-less counterparts do not have errors.
π Expected behavior
all four variables should not error
Additional information about the issue
I guess that currently the presence of satisfies causes a different code path that ignores whether the underlying expression would be valid?
It would be good if TS was able to "look past" the satisfies so it can treat the code the same as if there was no satisfies.
This behaviour encourages you to do hacky things like this to "work around" the limitation.