rn,tracks: fix loadEffects
The resolved promise is expected to return an array.
This commit is contained in:
parent
bd5901d59c
commit
3bfa4744c8
@ -4,8 +4,8 @@
|
|||||||
* Loads the enabled stream effects.
|
* Loads the enabled stream effects.
|
||||||
*
|
*
|
||||||
* @param {Object} store - The Redux store.
|
* @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
|
export default function loadEffects(store: Object): Promise<Array<any>> { // eslint-disable-line no-unused-vars
|
||||||
return Promise.resolve();
|
return Promise.resolve([]);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user