ts-pattern
ts-pattern copied to clipboard
Export additional useful types
I'd like access to more internal ts-pattern types to:
- Create wrapper functions around
match
(e.g. from a class method) - Type generics passed into
match
/when
/ etc. - Explicitly type matches inside other types, like interfaces
- etc.
I've included exports all of the potential user-facing types I could find – did I miss any?