Type Aliases
Action
Type Parameters
ActionErrorSubscriber
ActionErrorSubscriber<P, S>: ((action: P, state: S, error: Error) => any)
Type Parameters
Type declaration
- (action: P, state: S, error: Error): any
Parameters
action: P
state: S
error: Error
Returns any
ActionHandler
Action
Handler
<S, R>: ((this
: Store<R>, injectee
: ActionContext<S, R>, payload
?: any) => any)Type Parameters
ActionSubscriber
ActionSubscriber<P, S>: ((action: P, state: S) => any)
Type Parameters
Type declaration
- (action: P, state: S): any
Getter
Getter<S, R>: ((state: S, getters: any, rootState: R, rootGetters: any) => any)
Type Parameters
Type declaration
- (state: S, getters: any, rootState: R, rootGetters: any): any
Parameters
state: S
getters: any
rootState: R
rootGetters: any
Returns any
Mutation
Mutation<S>: ((state: S, payload?: any) => any)
Type Parameters
Type declaration
- (state: S, payload?: any): any
Parameters
state: S
Optional payload: any
Returns any
Plugin
Plugin
<S>: ((store
: Store<S>) => any)Type Parameters
SubscribeActionOptions
Type Parameters