From 4b62a0c3b28407ba3d136775f6c0ea8cecec87a3 Mon Sep 17 00:00:00 2001 From: daishi Date: Wed, 4 Oct 2023 19:47:19 +0900 Subject: [PATCH] fix(types): mitigate devtools typing --- src/vanilla/utils/devtools.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vanilla/utils/devtools.ts b/src/vanilla/utils/devtools.ts index d5dd26d4..0fa6e82a 100644 --- a/src/vanilla/utils/devtools.ts +++ b/src/vanilla/utils/devtools.ts @@ -13,7 +13,7 @@ const DEVTOOLS = Symbol() type Config = Parameters< (Window extends { __REDUX_DEVTOOLS_EXTENSION__?: infer T } ? T - : any)['connect'] + : { connect: (param: any) => any })['connect'] >[0] type Options = {