UNPKG

@robotlegsjs/core

Version:

An architecture-based IoC framework for JavaScript/TypeScript

18 lines (17 loc) 378 B
import { IClass } from "../../matching/IClass"; import { ICommand } from "../api/ICommand"; /** * @private */ export interface ICommandUnmapper { /** * Unmaps a Command * * @param commandClass Command to unmap */ fromCommand(commandClass: IClass<ICommand>): void; /** * Unmaps all commands from this trigger */ fromAll(): void; }