Type manipulations: union to tuple · Issue #13298 · microsoft/TypeScript

A suggestion to create a runtime array of union members was deemed out of scope because it would not leave the type system fully erasable (and because it wouldn't be runtime complete, though th...