Skip to content

Commit

Permalink
revert(types/store): revert type changes to StoreEnhancerStoreCreator
Browse files Browse the repository at this point in the history
  • Loading branch information
exuanbo committed Dec 16, 2023
1 parent 2b74703 commit 3e9e484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export type StoreEnhancer<Ext extends {} = {}, StateExt extends {} = {}> = <
) => StoreEnhancerStoreCreator<NextExt & Ext, NextStateExt & StateExt>
export type StoreEnhancerStoreCreator<
Ext extends {} = {},
StateExt extends unknown = unknown
StateExt extends {} = {}
> = <S, A extends Action, PreloadedState>(
reducer: Reducer<S, A, PreloadedState>,
preloadedState?: PreloadedState | undefined
Expand Down

0 comments on commit 3e9e484

Please sign in to comment.