Skip to content

Commit 7501f2e

Browse files
authored
Update README.md
1 parent ec55862 commit 7501f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Store } from './store';
99

1010
type CounterAction = { type: 'INCREMENT' } | { type: 'DECREMENT' };
1111

12-
const reducer = (state: any = 0, action: CounterAction) => {
12+
const reducer = (state: number = 0, action: CounterAction) => {
1313
switch (action.type) {
1414
case 'INCREMENT':
1515
return state + 1;
@@ -53,4 +53,4 @@ $ npm run build
5353

5454
## Author
5555

56-
[hiro08gh](https://github.com/hiro08gh)
56+
[@hiro08gh](https://github.com/hiro08gh)

0 commit comments

Comments
 (0)