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