Adding nominal type safety to your TS code using branded types

Typescript
type safety
validation

Typescript and JavaScript are structurally typed - objects of the same shape are assignable. Nominal types can only be assigned to other objects of the same named type. Type branding is a technique that brings the safety of nominal typing to typescript.

About Allan Deutsch

photo of Allan Deutsch

Pronouns

he/him

Company

The Startup

Links