Comment Comment by Stoids ts-pattern has been a decent band-aid for the lack of native pattern matching, but obviously has downsides that could be avoided if it was built into the language.https://github.com/gvergnaud/ts-pattern parent Stoids 2 years ago
https://github.com/gvergnaud/ts-pattern