mirror of
https://github.com/captbaritone/webamp
synced 2024-11-23 08:39:15 +00:00
Make middleware type use the correct store type
This commit is contained in:
parent
5bcb97c14f
commit
2eab287fbc
@ -477,7 +477,7 @@ export type Dispatch = (action: Dispatchable) => void;
|
||||
export type Reducer = (state: AppState, action: Action) => AppState;
|
||||
|
||||
export type Middleware = (
|
||||
store: Store
|
||||
store: MiddlewareStore
|
||||
) => (next: Dispatch) => (action: Action) => any;
|
||||
|
||||
export interface Store {
|
||||
|
Loading…
Reference in New Issue
Block a user