Skip to content

Commit bc24392

Browse files
authored
Fix typo on usage with typescript example
1 parent ca51896 commit bc24392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/createListenerMiddleware.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ export const listenerMiddleware = createListenerMiddleware()
397397

398398
export const startAppListening =
399399
listenerMiddleware.startListening as TypedStartListening<RootState>
400-
export const addAppListener = addListener as TypedAddListenern<RootState>
400+
export const addAppListener = addListener as TypedAddListener<RootState>
401401
```
402402

403403
Then import and use those pre-typed methods in your components.

0 commit comments

Comments
 (0)