简体   繁体   中英

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
 */

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM