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
Contray to our expectation, former overloads does not narrow latter overloads.
We’d have to change that to something like [T] (T ele) -> [T] | Array[untyped], yet this still won’t help with the topic without more efforts done by the type checkers.
Given a variable typed as smth or collection of smth,
Array(a)
does not spread correctly:The text was updated successfully, but these errors were encountered: