Skip to content

Commit d047a9b

Browse files
committed
Fix incorrect parameter type for StoreEnhancerStoreCreator
1 parent b8a6da5 commit d047a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export interface StoreCreator {
257257
* @template StateExt State extension that is mixed into the state type.
258258
*/
259259
export type StoreEnhancer<Ext = {}, StateExt = never> = (
260-
next: StoreEnhancerStoreCreator<Ext, StateExt>
260+
next: StoreEnhancerStoreCreator<unknown, unknown>
261261
) => StoreEnhancerStoreCreator<Ext, StateExt>
262262
export type StoreEnhancerStoreCreator<Ext = {}, StateExt = never> = <
263263
S = any,

0 commit comments

Comments
 (0)