How to write tests for TypeScript types?
Writing test is, essentially, making assertions. Most of the time, these assertions aim to check the runtime logic we implemented. But in some situations, we implement our own build-time logic: our own types. This article covers different use cases a...
blog.adrgautier.co3 min read