Typing your JavaScript without writing TypeScript
The good news is that we can give TypeScript more hints about the types that flow around our JavaScript application or project without changing the project to TypeScript.
JSDoc
You can use JSDoc to set the types of variables. In this example, assigni...
shivam-sharma.hashnode.dev2 min read