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
Unionize looks like it also does Key(Tag)Valueification in the same step. That is, rather than {AA : string } | { BB : number} it does {tag : "AA", value : string } | { tag : "BB", value : number}. I may be reading it wrong though.
Given an object structure like:
derive:
type C = {AA : string } | { BB : number}
This is how:
I'm not sure if it should be called Unionify or OneOf. Any idea on naming or other feedback appreciated.
The text was updated successfully, but these errors were encountered: