I am attempting to JSDoc a method to send e-mail and have trouble with the 'attachment' parameter:
- Code: Select all
/**
* <stuff>
*
* @param {Array<Byte>} attachment File attachment
*
* <more stuff>
*
*/
The parameter is being flagged as a warning of 'Unknown type Byte', however, the JSDoc section of the Wiki shows this example for '@param' et al:
{Array<Byte>} An array containing just bytes
What notation should I be using?