Open jamiebuilds opened 11 months ago
We already have two similar types for this now Opaque
and Tagged
. If we add a third one, we need to make sure we clearly describe the differences.
// @ethanresnick @Emiyaaaaa Thoughts?
I can't say I've ever had a need for something like this in my code (that I remember), or seen use cases for this discussed much on the TS repo's issues about tagged types. It might be worth it to collect more feedback/signals of demand before adding this.
Opaque
Labeled
as
Example:
TS Playground
Upvote & Fund