blob: 8a90f24b2b8952276b7dc212701a9f1274e58c1a (
plain)
1
2
3
4
5
6
7
8
|
/**
* Represents an action in the odlux flux architecture.
*/
export abstract class Action { }
export interface IActionHandler<TState, TAction extends Action = Action> {
(state: TState | undefined, action: TAction): TState;
}
|