DEV Community

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

Collapse
 
stojakovic99 profile image
Nikola Stojaković

You can set up ESLint to catch cases like this - then it will warn you to add return type to a function.