Hacker News new | ask | show | jobs
by sleazy_b 763 days ago
I believe type-fest supports this, previously as “Opaque” types: https://github.com/sindresorhus/type-fest/blob/main/source/o...
1 comments

True, although "Opaque" was deprecated and replaced with similar type "Tagged" (that supports multiple tags and metadata).