advanced35 minby DevFox

Branded and Nominal Types

Making two structurally identical types incompatible on purpose — validated input, identifiers, units — and the ergonomics of constructing and unwrapping them.

  • TypeScript
  • Types