diff --git a/src/import/load-sound.js b/src/import/load-sound.js index d696a2194..74856326a 100644 --- a/src/import/load-sound.js +++ b/src/import/load-sound.js @@ -7,7 +7,7 @@ var log = require('../util/log'); * @property {string} md5 - the MD5 and extension of the sound to be loaded. * @property {Buffer} data - sound data will be written here once loaded. * @param {!Runtime} runtime - Scratch runtime, used to access the storage module. - * @returns {?Promise} - a promise which will resolve after sound is loaded, or null on error. + * @returns {!Promise} - a promise which will resolve after sound is loaded */ var loadSound = function (sound, runtime) { if (!runtime.storage) {