From 2eab287fbcc8b95ebf194199f338c729b40a1fb7 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 6 Oct 2018 14:16:28 -0700 Subject: [PATCH] Make middleware type use the correct store type --- js/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/types.ts b/js/types.ts index 2a1c80c1..6afad286 100644 --- a/js/types.ts +++ b/js/types.ts @@ -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 {