Reputation: 441
I wanted to represent an array of array of Object in JSDoc comment but I get syntax error in JSDoc when running lint.
This is what I am trying :-
{Object[][]}
Can someone tell me how can I write it in JSDoc comment?
Upvotes: 0
Views: 480
Reputation: 1323
Use the angle bracket notation for multidimensional arrays, like so:
Object.<Array[]>
Upvotes: 1