Skip to content

Commit 07f35b9

Browse files
committed
Correct PluginManager.add first parameter.
1 parent 340d571 commit 07f35b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

typescript/phaser.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3161,7 +3161,7 @@ declare module Phaser {
31613161
game: Phaser.Game;
31623162
plugins: Phaser.Plugin[];
31633163

3164-
add(plugin: any, ...parameter: any[]): Phaser.Plugin;
3164+
add(plugin: Phaser.Plugin | typeof Phaser.Plugin, ...parameter: any[]): Phaser.Plugin;
31653165
destroy(): void;
31663166
postRender(): void;
31673167
postUpdate(): void;

0 commit comments

Comments
 (0)