Merge pull request #1290 from jemise111/patch-1

Fix JSDoc function param with multiple types
This commit is contained in:
Rico Sta. Cruz
2019-12-18 13:29:41 +11:00
committed by GitHub

View File

@@ -31,7 +31,7 @@ See: <http://usejsdoc.org/index.html>
| --- | --- |
| `@param {string=} n` | Optional |
| `@param {string} [n]` | Optional |
| `@param {(string\|number)} n`| Multiple types |
| `@param {(string|number)} n` | Multiple types |
| `@param {*} n` | Any type |
| `@param {...string} n` | Repeatable arguments |
| `@param {string} [n="hi"]` | Optional with default |