File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
playground/src/features/counters Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1164,7 +1164,7 @@ export const add = (amount: number) => action(ADD, amount);
1164
1164
// ALTERNATIVE API - allow to use reference to "action-creator" function instead of "type constant"
1165
1165
// e.g. case getType(increment): return { ... }
1166
1166
// This will allow to completely eliminate need for "constants" in your application, more info here:
1167
- // https://github.com/piotrwitek/typesafe-actions#behold-the-mighty-tutorial
1167
+ // https://github.com/piotrwitek/typesafe-actions#constants
1168
1168
1169
1169
// OPTION 1 (with generics):
1170
1170
// import { createStandardAction } from 'typesafe-actions';
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export const add = (amount: number) => action(ADD, amount);
9
9
// ALTERNATIVE API - allow to use reference to "action-creator" function instead of "type constant"
10
10
// e.g. case getType(increment): return { ... }
11
11
// This will allow to completely eliminate need for "constants" in your application, more info here:
12
- // https://github.com/piotrwitek/typesafe-actions#behold-the-mighty-tutorial
12
+ // https://github.com/piotrwitek/typesafe-actions#constants
13
13
14
14
// OPTION 1 (with generics):
15
15
// import { createStandardAction } from 'typesafe-actions';
You can’t perform that action at this time.
0 commit comments