diff --git a/packages/node_modules/overmind-vue/src/index.ts b/packages/node_modules/overmind-vue/src/index.ts index 31604442..0906083b 100644 --- a/packages/node_modules/overmind-vue/src/index.ts +++ b/packages/node_modules/overmind-vue/src/index.ts @@ -1,11 +1,11 @@ import { TApp, EventType, Overmind, Configuration } from 'overmind' import Vue, { ComponentOptions } from 'vue' +import { IMutation } from 'proxy-state-tree' export type TConnect = { - overmind: { - state: TApp['state'] - actions: TApp['actions'] - } + state: TApp['state'] + actions: TApp['actions'] + addMutationListener: (cb: (mutation: IMutation) => void) => () => void } type DefaultData = object | ((this: V) => object)