by heterodoxxed · 5y ago · 0 comments
This is one way to mitigate those escape hatches:
https://github.com/cyrilletuzi/typescript-strictly-typed
But in my experience, you had better be starting a new project. They aren't joking when they say laying it on an existing codebase is a nightmare.