File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
playground/src/redux/counters Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -767,7 +767,7 @@ export const countersActions = {
767767import store from ' @src/store' ;
768768import { countersActions } from ' @src/redux/counters' ;
769769
770- // store.dispatch(actionCreators .increment(1)); // Error: Expected 0 arguments, but got 1.
770+ // store.dispatch(countersActions .increment(1)); // Error: Expected 0 arguments, but got 1.
771771store .dispatch (countersActions .increment ()); // OK => { type: "INCREMENT" }
772772
773773` ` `
Original file line number Diff line number Diff line change 11import store from '@src/store' ;
22import { countersActions } from '@src/redux/counters' ;
33
4- // store.dispatch(actionCreators .increment(1)); // Error: Expected 0 arguments, but got 1.
4+ // store.dispatch(countersActions .increment(1)); // Error: Expected 0 arguments, but got 1.
55store . dispatch ( countersActions . increment ( ) ) ; // OK => { type: "INCREMENT" }
You can’t perform that action at this time.
0 commit comments