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
This would be great! I was hesitant to add this at first because I wanted to be sure it was stable. These magical types make me nervous that the Typescript compiler will make internal changes and break the unsupported magic.
This type seems stable enough to me. If you'd like to add it, feel free to put up a PR! Otherwise I'll hopefully get around to it this weekend. I'll definitely be able to get to it by next weekend after a few deadlines cool down.
by adding the magical UnionToIntersection
Ref: https://stackoverflow.com/questions/50374908/transform-union-type-to-intersection-type
Will give you a new feature and can replace :
with:
The text was updated successfully, but these errors were encountered: