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:
Eirik S Korsnes 2018-04-05 02:02:27 +02:00
parent 798356cb64
commit 64bbf8b9c0

View file

@ -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`.
*/