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 d0c13a2 commit 2a88961Copy full SHA for 2a88961
src/features/counter/types.ts
@@ -0,0 +1,15 @@
1
+import { INCREMENT_COUNTER, DECREMENT_COUNTER } from './actionTypes'
2
+
3
+interface IncrementCounterAction {
4
+ type: typeof INCREMENT_COUNTER
5
+}
6
+interface DecrementCounterAction {
7
+ type: typeof DECREMENT_COUNTER
8
9
+export type CounterActionTypes = IncrementCounterAction | DecrementCounterAction
10
11
+export interface SystemState {
12
+ count: {
13
+ value: number
14
+ }
15
0 commit comments