mirror of
https://github.com/photonstorm/phaser
synced 2024-11-11 07:34:43 +00:00
jsdoc / tsdef : extend jsdoc for EventEmitter#emit to properly reflect its ability to have any amount of arguments
https://github.com/photonstorm/phaser3-docs/issues/17
This commit is contained in:
parent
798356cb64
commit
64bbf8b9c0
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ var EventEmitter = new Class({
|
|||
* @since 3.0.0
|
||||
*
|
||||
* @param {(string|symbol)} event - The event name.
|
||||
* @param {...*} [args] - Additional arguments that will be passed to the event handler.
|
||||
*
|
||||
* @return {boolean} `true` if the event had listeners, else `false`.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue