javascript - JSDoc - proper way to create custom type in a separated file -


i want create custom type in order example code completion, in separated file named custom-types.js, in way found in rzslider angular repository, in file rzslider.js file @ bottom:

/**  *  * @name author  * @property {number} id  * @property {string} name  * @property {string} surname  */ 

is proper way document own types? it's important should in separated file, pollute code little possible jsdoc comments. using jsdoc 3 plugin bounded intellij 14, thank in advance helping me.

about documenting angular codes jsdoc, have answered similar question. please refer here.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -