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.
|
||||
*
|
||||
* @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([]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue