Skip to content

Commit

Permalink
refactor(overmind-vue): fix Connect type
Browse files Browse the repository at this point in the history
  • Loading branch information
christianalfoni committed Jan 4, 2019
1 parent 28ee895 commit e107d04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/node_modules/overmind-vue/src/index.ts
Original file line number Diff line number Diff line change
@@ -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<Config extends Configuration> = {
overmind: {
state: TApp<Config>['state']
actions: TApp<Config>['actions']
}
state: TApp<Config>['state']
actions: TApp<Config>['actions']
addMutationListener: (cb: (mutation: IMutation) => void) => () => void
}

type DefaultData<V> = object | ((this: V) => object)
Expand Down

0 comments on commit e107d04

Please sign in to comment.