user736893
user736893

Reputation:

WebStorm and jsdoc3, defining allowed parameters doesn't work?

Based on the documentation, the JSDoc implementation in WebStorm seems to be very limited. Is there anyway to extend it? I can't find any plugins.

Specifically, I would like "allowed parameters" to work (as implemented 2014-04-11)

enter image description here

Upvotes: 0

Views: 121

Answers (1)

lena
lena

Reputation: 93868

they do work - if the argument doesn't match the value specified in @param annotation, WebStorm shows type mismatch warning:

enter image description here

But parameter hint shows expected parameter type, not value

Upvotes: 1

Related Questions