UNPKG

oo-redux-utils2

Version:
9 lines (8 loc) 421 B
export default abstract class AbstractAction<TState, TStateNamespace extends string = ''> { private readonly actionClassName; protected readonly stateNamespace: TStateNamespace; constructor(stateNamespace: TStateNamespace); abstract perform(currentState: TState): TState; performAction(action: AbstractAction<TState, TStateNamespace>, currentState: TState): TState; getStateNamespace(): string; }