webstorm - IntelliJ JSDoc block + ESLint valid-jsdoc -




here simple function auto-generated docblock webstorm:

/**  *   * @param  * @param b  * @returns {string}  */ function foo(a, b) {     return "ad"; } 

this considered "invalid" eslint valid-jsdoc because @param don't have type, i.e. should have been:

/**  *   * @param {some-type}  * @param {some-type} b  * @returns {string}  */ function foo(a, b) {     return "ad"; } 

i cannot figure out how fix this. appreciated





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -