Documenting arrays in JSDoc typedefs for VS Intellisense
问题 In my VS2015 JavaScript app, I have a JSON object that I get from a REST API that I have documented using JSDoc @typedef comments: /** * @typedef {Object} JSON_Response * @property {Number} id * @property {String} name * @property {JSON_Response_Tag} tag */ /** * @typedef {Object} JSON_Response_Tag * @property {Number} id * @property {String} color */ When I reference this type in JSDoc comments on the methods that consume these JSON objects, I can get Intellisense documentation just fine: /*