We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58907e5 commit d5849b8Copy full SHA for d5849b8
playground/src/redux/counters/actions.usage.ts
@@ -1,5 +1,5 @@
1
import store from '@src/store';
2
import { countersActions } from '@src/redux/counters';
3
4
-// store.dispatch(actionCreators.increment(1)); // Error: Expected 0 arguments, but got 1.
+// store.dispatch(countersActions.increment(1)); // Error: Expected 0 arguments, but got 1.
5
store.dispatch(countersActions.increment()); // OK => { type: "INCREMENT" }
0 commit comments