From 73ffa4b7c63bddd5a39b9ecdf35eb3be667f6d21 Mon Sep 17 00:00:00 2001 From: Daishi Kato Date: Thu, 5 Oct 2023 23:13:27 +0900 Subject: [PATCH] fix(types): mitigate devtools typing (#2099) --- src/middleware/devtools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middleware/devtools.ts b/src/middleware/devtools.ts index d1367fee07..5417a34719 100644 --- a/src/middleware/devtools.ts +++ b/src/middleware/devtools.ts @@ -8,7 +8,7 @@ import type { type Config = Parameters< (Window extends { __REDUX_DEVTOOLS_EXTENSION__?: infer T } ? T - : any)['connect'] + : { connect: (param: any) => any })['connect'] >[0] declare module '../vanilla' {