jsDoc Typing

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Sep 16 6:38
Editor
Edited
Edited
2025 Sep 30 17:39
Refs
Refs
  • @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

    Type casting supported

     
     

    Recommendations