@univerjscoreinterfacesIcommandinfo

@univerjs/core v0.5.0-beta.1Docs


Interface: ICommandInfo<T>

This object represents an execution of a command.

Type Parameters

Type ParameterDefault type
T extends objectobject

Properties

PropertyTypeDescriptionDefined in
idstringId of the command being executed.packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/command/command.service.ts:145
params?TParameters of this execution.packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/command/command.service.ts:153
type?CommandTypeType of the command.packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/command/command.service.ts:149