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
If we ultimately get rid of tag specificity, then we could support utilizing Input and Output on variants themselves (since we know the discriminant key is "type").
typeCapiBinary=$.Input<typeof$capiBinary>
The text was updated successfully, but these errors were encountered:
Ideally one could extract the native types of specific members of tagged unions.
Let's say we want to extract the
$capiBinary
variant-specific type:Today, we would need to make use of awkward workarounds such as...
Should we enable a more-direct means of getting this type? Perhaps a variant-specific type util?
If we ultimately get rid of tag specificity, then we could support utilizing
Input
andOutput
on variants themselves (since we know the discriminant key is"type"
).The text was updated successfully, but these errors were encountered: