Commit 340d571
committed
Correct PluginManager.add first parameter.
`PluginManager.add` accepts both plugin instances and plugin prototypes. The next version of TypeScript will support unions, at which time the type should be updated to `Phaser.Plugin|typeof Phaser.Plugin`. Until then we have to settle for `any` type.1 parent 6c7c0cb commit 340d571
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3161 | 3161 | | |
3162 | 3162 | | |
3163 | 3163 | | |
3164 | | - | |
| 3164 | + | |
3165 | 3165 | | |
3166 | 3166 | | |
3167 | 3167 | | |
| |||
0 commit comments