I'm using JSDoc and I would like to add the info to my documentation which value a parameter should have.
In this example you can see, that the parameter operator
has string type. But furthermore there can only be open
or close
as valid value of the parameter
/**
* Description
* @param {string='open','close'} operator
*/
What is the correct syntax to add this information?