From 3e9e484ff8bf1471ac08ae276ba8c52efbb5df22 Mon Sep 17 00:00:00 2001 From: exuanbo Date: Sat, 16 Dec 2023 18:09:49 +0000 Subject: [PATCH] revert(types/store): revert type changes to `StoreEnhancerStoreCreator` --- src/types/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/store.ts b/src/types/store.ts index 157e8a3458..c3651d0a72 100644 --- a/src/types/store.ts +++ b/src/types/store.ts @@ -225,7 +225,7 @@ export type StoreEnhancer = < ) => StoreEnhancerStoreCreator export type StoreEnhancerStoreCreator< Ext extends {} = {}, - StateExt extends unknown = unknown + StateExt extends {} = {} > = ( reducer: Reducer, preloadedState?: PreloadedState | undefined