typescript-eslint with JSDoc JavaScript
It's possible to statically type check a JavaScript codebase with TypeScript with JSDoc annotations. Going a little further, and using typescript-eslint
to lint your codebase with the benefits of type information can improve your code quality even more. This post will show you how to set this up and talk about some of the gotchas.
We'll also talk a little about how to use TypeScript in combination with JSDoc annotations in a JavaScript codebase.