News for hackers. Stuff that matters.
Re:Branded Types for TypeScript by IshKebab on Wednesday May 15, 2024 @02:46PM (#40370796)
This is a bit of a nitpick because strings often aren't the most appropriate type for hashes... but in some cases I can see using strings as the best choice. It's probably the fastest option for one.

In any case it still demonstrates the usefulness of branded types.

There are no comments on this comment yet.