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
Discriminated Unions allow for automatic type inference through a common "key". We can have openapi generate discriminated union types such that TypeScript can automatically infer the shape of data through a single key. This makes matching with on the client side much more elegant and clean.
The text was updated successfully, but these errors were encountered:
Discriminated Unions allow for automatic type inference through a common "key". We can have openapi generate discriminated union types such that TypeScript can automatically infer the shape of data through a single key. This makes matching with on the client side much more elegant and clean.
The text was updated successfully, but these errors were encountered: