In JSDoc you can type for example a parameter to allow multiple types, like this: @param {String|Number} myParamName description Same thing goes for @type Tern doesn't seem to recognize this.
In JSDoc you can type for example a parameter to allow multiple types, like this:
@PARAM {String|Number} myParamName description
Same thing goes for @type
Tern doesn't seem to recognize this.