The secret to fully typed web apps is typing the boundaries. There are plenty of examples of boundaries you’ll encounter on the web. There’s a handy utility I use in almost all my projects to make this slightly nicer on the eyes. It's just a tricky problem because TypeScript doesn’t know your conventions or config.

12m read timeFrom epicweb.dev
Post cover image
Table of contents
Type Guards/Assertion functionsType GenerationHelping TypeScript with Conventions/ConfigConclusion
3 Comments

Sort: