This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Joel Drapper 🇬🇧🇺🇦
joel.drapper.me
did:plc:uqrryaveb7djvaatfljbdhcb
Here’s how branded types could work in Literal. We define a brand with constraints. This one must be a string and match the email address regex.
Then, we can duplicate a string as part of that brand.
We’re left with a real string (not wrapped) that’s branded as an EmailAddress.
2025-04-07T10:28:39.105Z