Skip to content

Commit ca74b85

Browse files
committed
Better Sound Manager type
1 parent f27606b commit ca74b85

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/core/Game.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ var Game = new Class({
248248
* You can disable the inclusion of the Sound Manager in your build by toggling the webpack `FEATURE_SOUND` flag.
249249
*
250250
* @name Phaser.Game#sound
251-
* @type {Phaser.Sound.BaseSoundManager}
251+
* @type {(Phaser.Sound.NoAudioSoundManager|Phaser.Sound.HTML5AudioSoundManager|Phaser.Sound.WebAudioSoundManager)}
252252
* @since 3.0.0
253253
*/
254254
this.sound = null;

src/scene/Systems.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ var Systems = new Class({
175175
* In the default set-up you can access this from within a Scene via the `this.sound` property.
176176
*
177177
* @name Phaser.Scenes.Systems#sound
178-
* @type {Phaser.Sound.BaseSoundManager}
178+
* @type {(Phaser.Sound.NoAudioSoundManager|Phaser.Sound.HTML5AudioSoundManager|Phaser.Sound.WebAudioSoundManager)}
179179
* @since 3.0.0
180180
*/
181181
this.sound;

0 commit comments

Comments
 (0)