From 47b67df3231fe962a489389f742b7a37d3632235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Sat, 18 Jun 2022 11:34:38 +0200 Subject: [PATCH] Use RootState in AppDispatch type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/store.ts b/app/soapbox/store.ts index cb55a033d..8aeb0a791 100644 --- a/app/soapbox/store.ts +++ b/app/soapbox/store.ts @@ -22,4 +22,4 @@ export type Store = typeof store; // Infer the `RootState` and `AppDispatch` types from the store itself // https://redux.js.org/usage/usage-with-typescript export type RootState = ReturnType; -export type AppDispatch = ThunkDispatch<{}, {}, AnyAction>; +export type AppDispatch = ThunkDispatch;