in my component, i have to call/dispatch the action that doesn't have a payload with an empty object as an argument like so:
this.installationsStore.loadAll({});
Otherwise I get the following error:
Expected 1 arguments, but got 0.ts(2554)
with-redux.d.ts(15, 35): An argument for 'payload' was not provided.
(property) loadAll: (payload: {}) => {
type: "loadAll";
}
Proposed fix: not to have to pass an empty object.
I have these actions.
in my component, i have to call/dispatch the action that doesn't have a payload with an empty object as an argument like so:
Otherwise I get the following error:
Proposed fix: not to have to pass an empty object.