Add promised type

https://github.com/jsdoc/jsdoc/issues/1197
This commit is contained in:
Alexander Perlamutrov 2019-08-06 13:53:26 +03:00 committed by GitHub
parent 090d42f103
commit 27714bd874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ See: <http://usejsdoc.org/index.html>
| `@param {...string} n` | Repeatable arguments |
| `@param {string} [n="hi"]` | Optional with default |
| `@param {string[]} n` | Array of strings |
| `@return {Promise<string[]>} n` | Promise fulfilled by array of strings |
See: <http://usejsdoc.org/tags-type.html>