UNPKG

demeine

Version:

DDDD - Distributed Domain Driven Design

7 lines (6 loc) 340 B
import { Aggregate } from './Aggregate'; import { Command, CommandHandler } from './Aggregate.interfaces'; export declare class DefaultCommandHandler<State extends object = object> implements CommandHandler<State> { handle(aggregate: Aggregate<State>, command: Command): Aggregate<State>; _extractKey(type: string): string; }