Fixed return type. Fix #4772

This commit is contained in:
Richard Davey 2019-09-30 13:32:14 +01:00
parent d67a71efc8
commit 2829d27e8a
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@
My thanks to the following for helping with the Phaser 3 Examples, Docs and TypeScript definitions, either by reporting errors, fixing them or helping author the docs: My thanks to the following for helping with the Phaser 3 Examples, Docs and TypeScript definitions, either by reporting errors, fixing them or helping author the docs:
@krzysztof-grzybek @NokFrt @krzysztof-grzybek @NokFrt @r-onodera

View file

@ -192,7 +192,7 @@ var BaseSoundManager = new Class({
* @param {string} key - Asset key for the sound. * @param {string} key - Asset key for the sound.
* @param {Phaser.Types.Sound.SoundConfig} [config] - An optional config object containing default sound settings. * @param {Phaser.Types.Sound.SoundConfig} [config] - An optional config object containing default sound settings.
* *
* @return {Phaser.Types.Sound.AudioSpriteSound} The new audio sprite sound instance. * @return {(Phaser.Sound.HTML5AudioSound|Phaser.Sound.WebAudioSound)} The new audio sprite sound instance.
*/ */
addAudioSprite: function (key, config) addAudioSprite: function (key, config)
{ {