Skip to content

Commit b95330c

Browse files
committed
extend store type
1 parent f5f796c commit b95330c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/createStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default function createStore<
9090

9191
return enhancer(createStore)(reducer, preloadedState as PreloadedState<
9292
S
93-
>) as Store<S & StateExt, A> & Ext
93+
>) as Store<S & StateExt, A, StateExt, Ext> & Ext
9494
}
9595

9696
if (typeof reducer !== 'function') {

0 commit comments

Comments
 (0)