Method to discover what the discriminant properties of a union type are
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 238
- Avg merge
- 2m
- Merged PRs (30d)
- 1
Description
**Is your feature request related to a problem? Please describe.**
One of the features of Tydoc is to extract union types and discover if it is a discriminant union or not. If it is, which property or properties can be used as discriminators.
I think this feature would be useful to others generally so thought it perhaps should be a method on the union type class.
Contributor guide
Assessment
This issue has not been assessed yet.