DEV Community

Discussion on: TypeScript and why you should type your JS project

 
peppesilletti_4 profile image
Giuseppe Silletti

Where did I write that?

Anyways, at least for TS, having the right static type doesn't mean having the right runtime type. So you need to write tests for that. And those tests will also catch the same bugs that the compiler could catch.