Quickly writing JSDoc comments in JavaScript and TypeScript

You can scaffold out JSDoc comments in JavaScript or TypeScript by typing /** before a function and hitting enter.

If you add type annotations, VS Code can type check your JavaScript.