Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace <internal>

Index

Type Aliases

Action<S, R>: ActionHandler<S, R> | ActionObject<S, R>

Type Parameters

  • S

  • R

ActionErrorSubscriber<P, S>: ((action: P, state: S, error: Error) => any)

Type Parameters

  • P

  • S

Type declaration

    • (action: P, state: S, error: Error): any
    • Parameters

      • action: P
      • state: S
      • error: Error

      Returns any

ActionHandler<S, R>: ((this: Store<R>, injectee: ActionContext<S, R>, payload?: any) => any)

Type Parameters

  • S

  • R

Type declaration

ActionSubscriber<P, S>: ((action: P, state: S) => any)

Type Parameters

  • P

  • S

Type declaration

    • (action: P, state: S): any
    • Parameters

      • action: P
      • state: S

      Returns any

Getter<S, R>: ((state: S, getters: any, rootState: R, rootGetters: any) => any)

Type Parameters

  • S

  • R

Type declaration

    • (state: S, getters: any, rootState: R, rootGetters: any): any
    • Parameters

      • state: S
      • getters: any
      • rootState: R
      • rootGetters: any

      Returns any

Mutation<S>: ((state: S, payload?: any) => any)

Type Parameters

  • S

Type declaration

    • (state: S, payload?: any): any
    • Parameters

      • state: S
      • Optional payload: any

      Returns any

Plugin<S>: ((store: Store<S>) => any)

Type Parameters

  • S

Type declaration

    • Parameters

      Returns any

SubscribeActionOptions<P, S>: ActionSubscriber<P, S> | ActionSubscribersObject<P, S>

Type Parameters

  • P

  • S

Generated using TypeDoc