Skip to content

Commit 34f53f0

Browse files
wgpsutherlandmarkerikson
authored andcommitted
Close angle bracket in AppThunk type (#190)
1 parent 168a43f commit 34f53f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/advanced-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ Before we go any further, let's add a type declaration we can reuse instead.
528528

529529
export type AppDispatch = typeof store.dispatch
530530

531-
+export type AppThunk = ThunkAction<void, RootState, null, Action<string>
531+
+export type AppThunk = ThunkAction<void, RootState, null, Action<string>>
532532
```
533533

534534
The `AppThunk` type declares that the "action" that we're using is specifically a thunk function. The thunk is customized with some additional type parameters:

0 commit comments

Comments
 (0)