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
Post a Comment