我想记录一个枚举这样的:不能记录枚举
/**
* Enum for the different types of tokens
* @memberof Ecre
* @enum {number}
* @readonly
*/
Ecre.TokenTypes = Object.freeze({
/**
* A string token
*/
"string": 1,
"comment": 2,
"number": 3,
"boolean": 4,
"identifier": 5
});
但这是例外不会不工作:string
是作为文档作为全球性的。
我该如何实现以适当方式记录这些值?
我使用JSDoc 3.3.0-alpha9(周六,2014年6月28日15时26分03秒GMT)
为了以防万一... https://github.com/jsdoc3/jsdoc/issues/777 – danikaze 2015-07-22 15:31:50