Hacker News new | ask | show | jobs
by blue_pants 877 days ago
The meaning is different though. Brands convey intent, UserId brand would allow only other UserId brands, but with string literal types "any" type that matches 'user_${string}' will do