本页由脚本自动生成,请勿手动编辑。如需补充说明,请使用
::: tip块。
Defined in: commands/i-command.d.ts:1
Properties
name
ts
name: string;Defined in: commands/i-command.d.ts:2
timestamp
ts
timestamp: number;Defined in: commands/i-command.d.ts:3
description?
ts
optional description?: string;Defined in: commands/i-command.d.ts:4
Methods
execute()
ts
execute(): void;Defined in: commands/i-command.d.ts:5
Returns
void
undo()
ts
undo(): void;Defined in: commands/i-command.d.ts:6
Returns
void
redo()
ts
redo(): void;Defined in: commands/i-command.d.ts:7
Returns
void
canMergeWith()?
ts
optional canMergeWith(command): boolean;Defined in: commands/i-command.d.ts:8
Parameters
| Parameter | Type |
|---|---|
command | ICommand |
Returns
boolean
mergeWith()?
ts
optional mergeWith(command): ICommand;Defined in: commands/i-command.d.ts:9
Parameters
| Parameter | Type |
|---|---|
command | ICommand |
Returns
ICommand