UNPKG

ng-commander

Version:

Command pattern for Angular applications

14 lines (13 loc) 303 B
import { Command } from './command.interface'; export declare enum CommandEventType { START = "start", SUCCESS = "success", FAIL = "fail", RESTART = "restart" } export interface CommandEvent { type: CommandEventType; timestamp: Date; command: Command<any>; data?: any; }