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
commit 997e7bc0e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 |