Docs: fix generic type for GameObjectFactory#existing

This commit is contained in:
samme 2021-03-24 18:00:44 -07:00 committed by GitHub
parent 8283d5cb10
commit f35ab198f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ var GameObjectFactory = new Class({
* @method Phaser.GameObjects.GameObjectFactory#existing
* @since 3.0.0
*
* @generic {Phaser.GameObjects.GameObject} G - [child,$return]
* @generic {(Phaser.GameObjects.GameObject|Phaser.GameObjects.Group)} G - [child,$return]
*
* @param {(Phaser.GameObjects.GameObject|Phaser.GameObjects.Group)} child - The child to be added to this Scene.
*