@ts-check- first line of file
@ts-ignore- ignore next line error
@ts-expect-error- same with ignore but throw compiler error
@param- what this do
@type- type
@typedef- new type
@template- generic
@class- constructor function type intead of@constructor
@augments- extends manually for generic like instead of@extends
Constructor Generic Extends
JSDoc: document generic type that works for grandchildren classes
Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
https://stackoverflow.com/questions/51088894/jsdoc-document-generic-type-that-works-for-grandchildren-classes
Type Safe JavaScript with JSDoc
JSDoc comments are an alternative to TypeScript and Flow for type definitions in JavaScript. In combination with VSCode you can get type checking and IntelliSense just like TypeScript.
https://medium.com/@trukrs/type-safe-javascript-with-jsdoc-7a2a63209b76

Type checking your JavaScript with VS Code - the superpowers you didn't know you had
Follow me on Twitter, happy to take your suggestions on topics or improvements /Chris Ok so you've decided that pure JavaScript is enough for your project, don't want to adopt TypeScript just yet or ever and you are using VS Code? - Then this is for you.
https://softchris.github.io/pages/javascript-typechecking.html#_4-supporting-optional-variables
Type casting supported
How to disable a ts rule for a specific line?
TypeScript 3.9 introduces a new magic comment. @ts-expect-error will: have same functionality as trigger an error, if actually no compiler error has been suppressed (= indicates useless flag) if (false) { // @ts-expect-error: Let's ignore a compile error like this unreachable code console.log("hello"); // compiles } // If @ts-expect-error didn't suppress anything at all, we now get a nice warning let flag = true; // ...
https://stackoverflow.com/questions/43618878/how-to-disable-a-ts-rule-for-a-specific-line
Documentation - JSDoc Reference
What JSDoc does TypeScript-powered JavaScript support?
https://www.typescriptlang.org/ko/docs/handbook/jsdoc-supported-types.html

Seonglae Cho