We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 340d571 commit 07f35b9Copy full SHA for 07f35b9
1 file changed
typescript/phaser.d.ts
@@ -3161,7 +3161,7 @@ declare module Phaser {
3161
game: Phaser.Game;
3162
plugins: Phaser.Plugin[];
3163
3164
- add(plugin: any, ...parameter: any[]): Phaser.Plugin;
+ add(plugin: Phaser.Plugin | typeof Phaser.Plugin, ...parameter: any[]): Phaser.Plugin;
3165
destroy(): void;
3166
postRender(): void;
3167
postUpdate(): void;
0 commit comments