import HREventStore from '../src/index'; export interface IStoreOptions { state:T['state'] actions?:actionsTree, modules?:T['modules'], } export interface IkeyType { state:{ [propName:string]:any }, actions?:actionsTree, modules?:{ [propName:string]:any } // modules?:modulesTree> } export interface actionsTree { [propName:string]: actionFn } export interface modulesTree { [propName:string]:module } export type actionFn = (state:T,payload?:any[]) => void export type module = T export type IResultObj = {[propName:string]:any}