Re:TypeScript 3.7: The Biggest Features and How to Use Them
by alangpierce on Thursday September 12, 2019 @07:42PM
(#20957660)
In addition to the suggestions in the sibling comments, I've had good luck with ts-interface-checker/ts-interface-builder . You add a code generation step to your build process (rather than ttsc) that generates runtime equivalents of your TS types, and there's a library to perform a runtime check.
https://github.com/gristlabs/ts-interface-checker