Fix function param with multiple types

This commit is contained in:
Jesse Sessler 2019-12-09 12:27:23 -05:00 committed by GitHub
parent 1ed003c8f4
commit 50271b5925
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 |