Intellisense in VS Code only works if it understands the type of your code. Without proper intellisensing, we often make typos, call the method which doesn't exist or even try to access the properties of an objects by a random guess. To handle such and more complex scenarios, we will use JSDoc's @param , @type and @typedef block tags.

4m read timeFrom blog.shhdharmen.me
Post cover image
Table of contents
Types in JavaScriptIntellisense in VS CodeJSDoc to the rescueConclusion
7 Comments

Sort: