We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28ee895 commit e107d04Copy full SHA for e107d04
packages/node_modules/overmind-vue/src/index.ts
@@ -1,11 +1,11 @@
1
import { TApp, EventType, Overmind, Configuration } from 'overmind'
2
import Vue, { ComponentOptions } from 'vue'
3
+import { IMutation } from 'proxy-state-tree'
4
5
export type TConnect<Config extends Configuration> = {
- overmind: {
6
- state: TApp<Config>['state']
7
- actions: TApp<Config>['actions']
8
- }
+ state: TApp<Config>['state']
+ actions: TApp<Config>['actions']
+ addMutationListener: (cb: (mutation: IMutation) => void) => () => void
9
}
10
11
type DefaultData<V> = object | ((this: V) => object)
0 commit comments