DEV Community

Typescript is really just an aggressive linter

Bob Firestone on January 21, 2021

Until typescript is doing runtime type checking it is just an aggressive linter and that’s okay. Having something to sanity check that the things y...
Collapse
 
matjones profile image
Mat Jones

I don’t think it’s accurate to say it’s “just an aggressive linter”. It’s a distinct programming language, with language features that don’t exist in JavaScript.

Compile time type checking is not going to be 100% effective at runtime

But that’s true for literally any language.