Base interface for all commands.

export interface Command {
execute(): void;
undo(): void;
getDescription(): string;
getMetadata(): CommandMetadata;
}
interface Command {
    execute(): void;
    undo(): void;
    getDescription(): string;
    getMetadata(): CommandMetadata;
}

Implemented by

Methods