Variant types in TypeScript
Why do you think that https://github.com/tc39/proposal-pattern-matching is a good alternative to variant
Variant types in TypeScript
Why do you think that https://github.com/tc39/proposal-pattern-matching is a good alternative to variant