From e107d0428473a777d03c5fd5d57031d70ffe227e Mon Sep 17 00:00:00 2001 From: christianalfoni Date: Fri, 4 Jan 2019 15:33:44 +0100 Subject: [PATCH] refactor(overmind-vue): fix Connect type --- packages/node_modules/overmind-vue/src/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)