How do I document a string double array in JSDoc?

I can't seem to find an example for this. But I have a string double array (table cell data), and I want to document it in my JSDoc.

Compiler doesn't seem to like this:

/**    
 * @param {cells: [[String]]} tableData
 */

And it doesn't have anything particularly nice to say about this:

/**    
 * @param {cells: String[][]} tableData
 */

how about this:

 /**    
  * @param  {Object<Array<String>>}  tableData
  */

reference: http://wiki.servoy.com/display/public/DOCS/Annotating+JavaScript+using+JSDoc#AnnotatingJavaScriptusingJSDoc-TypeExpression

链接地址: http://www.djcxy.com/p/71728.html

上一篇: 如何在android中滑入和滑出视图

下一篇: 如何在JSDoc中记录一个字符串double数组?