rn,tracks: fix loadEffects

The resolved promise is expected to return an array.
This commit is contained in:
Saúl Ibarra Corretgé 2020-02-04 17:00:48 +01:00 committed by Saúl Ibarra Corretgé
parent bd5901d59c
commit 3bfa4744c8
1 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
* Loads the enabled stream effects.
*
* @param {Object} store - The Redux store.
* @returns {Promsie} - A Promise which resolves when all effects are created.
* @returns {Promsie} - A Promise which resolves with an array of the loaded effects.
*/
export default function loadEffects(store: Object): Promise<any> { // eslint-disable-line no-unused-vars
return Promise.resolve();
export default function loadEffects(store: Object): Promise<Array<any>> { // eslint-disable-line no-unused-vars
return Promise.resolve([]);
}