Skip to content

Interface: Action<T>

Defined in: types.ts:11

Describes a standard action object used to signal state changes.

Actions are dispatched to update the state in ActionStack-like stores.

Type Parameters

T

T = any

Type of the action payload. Defaults to any.

Properties

type

type: string

Defined in: types.ts:12


payload?

optional payload: T

Defined in: types.ts:13


error?

optional error: boolean

Defined in: types.ts:14


meta?

optional meta: any

Defined in: types.ts:15


source?

optional source: any

Defined in: types.ts:16

Released under the MIT License.