The Time.Timeline class didn't show as extending the Event Emitter, or have config as an optional argument in the docs / TS defs. Fix #6673

This commit is contained in:
Richard Davey 2024-01-12 18:21:59 +00:00
parent 828de95e2f
commit 95df650f71

View file

@ -81,12 +81,13 @@ var Events = require('./events');
* {@link Phaser.Types.Time.TimelineEventConfig} typedef for more details.
*
* @class Timeline
* @extends Phaser.Events.EventEmitter
* @memberof Phaser.Time
* @constructor
* @since 3.60.0
*
* @param {Phaser.Scene} scene - The Scene which owns this Timeline.
* @param {Phaser.Types.Time.TimelineEventConfig|Phaser.Types.Time.TimelineEventConfig[]} config - The configuration object for this Timeline Event, or an array of them.
* @param {Phaser.Types.Time.TimelineEventConfig|Phaser.Types.Time.TimelineEventConfig[]} [config] - The configuration object for this Timeline Event, or an array of them.
*/
var Timeline = new Class({