WebStorm detects @type but not @property Follow
This page shows how the @type and @property JSDoc annotations can be used,
http://code.google.com/p/jsdoc-toolkit/wiki/TagProperty
My preference is to use @property rather than @type, and the url above discusses the merits of using one over the other.
If I use @type for a class member, WebStorm detects the type of the member and gives guidance. If I use @property rather than @type for the same class member, WebStorm does not appear to detect the type of the member and gives no guidance. Is WebStorm behaving inconsistently? Or is there a rational explanation?
Cheers.
Please sign in to leave a comment.
Please provide your code example where @property works not as expected. Example from jsdoc specification works for me, at least for completion: