File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/node_modules/overmind-react/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ type Omit<T, K extends keyof T> = Pick<
4040
4141export interface IConnect < Config extends IConfiguration > {
4242 overmind : {
43- state : IContext < Config , any > [ 'state' ]
44- actions : IContext < Config , any > [ 'actions' ]
45- effects : IContext < Config , any > [ 'effects' ]
43+ state : IContext < Config > [ 'state' ]
44+ actions : IContext < Config > [ 'actions' ]
45+ effects : IContext < Config > [ 'effects' ]
4646 addMutationListener : ( cb : ( mutation : IMutation ) => void ) => ( ) => void
4747 }
4848}
@@ -59,9 +59,9 @@ export const Provider: React.ProviderExoticComponent<
5959export const createHook = < Config extends IConfiguration > (
6060 overmindInstance ?: Overmind < Config >
6161) : ( ( ) => {
62- state : IContext < Config , any > [ 'state' ]
63- actions : IContext < Config , any > [ 'actions' ]
64- effects : IContext < Config , any > [ 'effects' ]
62+ state : IContext < Config > [ 'state' ]
63+ actions : IContext < Config > [ 'actions' ]
64+ effects : IContext < Config > [ 'effects' ]
6565 addMutationListener : ( cb : ( mutation : IMutation ) => void ) => ( ) => void
6666} ) => {
6767 let currentComponentInstanceId = 0
You can’t perform that action at this time.
0 commit comments