We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec55862 commit 7501f2eCopy full SHA for 7501f2e
README.md
@@ -9,7 +9,7 @@ import { Store } from './store';
9
10
type CounterAction = { type: 'INCREMENT' } | { type: 'DECREMENT' };
11
12
-const reducer = (state: any = 0, action: CounterAction) => {
+const reducer = (state: number = 0, action: CounterAction) => {
13
switch (action.type) {
14
case 'INCREMENT':
15
return state + 1;
@@ -53,4 +53,4 @@ $ npm run build
53
54
## Author
55
56
-[hiro08gh](https://github.com/hiro08gh)
+[@hiro08gh](https://github.com/hiro08gh)
0 commit comments