How to document Array
return value (and parameters) in JSDoc when array elements can be either of the following:
- A type (e.g.
String
,Array
). - An object literal.
How to document Array
return value (and parameters) in JSDoc when array elements can be either of the following:
String
, Array
).