Open Fr0sT-Brutal opened 7 years ago
Make sure these boxes are checked before submitting your issue - thank you! (If your issue is neither a both bug nor a request, please write in a free style)
Currently class members must be defined with at least two lines:
/** public prop @type {number} */ this.pub = value;
Would be nice if one-line definitions are allowed too
/** @type {number} - public prop */ this.pub = value;
Moreover, docs already state it is possible: https://esdoc.org/manual/usage/tags.html#for-member-and-variable => #type-syntax
unfortunately, the docs (no longer?) state that it is possible. But it would be very useful, indeed !
Make sure these boxes are checked before submitting your issue - thank you! (If your issue is neither a both bug nor a request, please write in a free style)
Short summary of your issue
Currently class members must be defined with at least two lines:
Would be nice if one-line definitions are allowed too
Moreover, docs already state it is possible: https://esdoc.org/manual/usage/tags.html#for-member-and-variable => #type-syntax
Your environment