Skip to content

Commit 1afbd4a

Browse files
authored
Fix: Add missing StateExt generic to StoreCreator second overload (#4864)
1 parent 735b5e2 commit 1afbd4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/types/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export interface StoreCreator {
192192
>(
193193
reducer: Reducer<S, A, PreloadedState>,
194194
preloadedState?: PreloadedState | undefined,
195-
enhancer?: StoreEnhancer<Ext>
195+
enhancer?: StoreEnhancer<Ext, StateExt>
196196
): Store<S, A, UnknownIfNonSpecific<StateExt>> & Ext
197197
}
198198

0 commit comments

Comments
 (0)