I want to create custom type in order to for example code completion, in separated file named custom-types.js
, in way I found in Rzslider angular repository, in file Rzslider.js file at the bottom:
/**
*
* @name Author
* @property {number} id
* @property {string} name
* @property {string} surname
*/
Is this the proper way to document own types? It's important that it should be in separated file, to pollute code as little as possible with JSDoc
comments. I am using JSDoc 3
with plugin bounded to Intellij 14, thank you in advance for helping me.