wj-design-art
Version:
让javascript使用设计模式更简单
11 lines • 325 B
TypeScript
import { ICommand, CommandItem } from './types';
export default class Command implements ICommand {
private commandArr;
constructor();
add(command: CommandItem): this;
remove(command: CommandItem): this;
undo(): this;
reset(): this;
execute(): void;
}
//# sourceMappingURL=index.d.ts.map