tree-sitter-jsdoc icon indicating copy to clipboard operation
tree-sitter-jsdoc copied to clipboard

Added new tags and support for optional types

Open MC-Fatigue opened this issue 5 years ago • 0 comments

Added tags that have arguments: @typedef, @type, @member Added rules in order to capture:

  • optional types: @param {number} [index]
  • optional types with atomic default values: @param {number} [index=0]
  • optional types with default values that are lists: @param {number[]} [a=[1,2]]

Added tests for new tags and types.

MC-Fatigue avatar Apr 28 '20 20:04 MC-Fatigue