API Reference
@univerjs
@univerjs/core
interfaces
Icommandinfo

@univerjs/core v0.1.17Docs


Interface: ICommandInfo<T>

The command info, only a command id and responsible params

Type Parameters

Type ParameterDefault type
T extends objectobject

Properties

PropertyTypeDescriptionDefined in
idstring-submodules/univer/packages/core/src/services/command/command.service.ts:98 (opens in a new tab)
params?TArgs should be serializable.submodules/univer/packages/core/src/services/command/command.service.ts:105 (opens in a new tab)
type?CommandType-submodules/univer/packages/core/src/services/command/command.service.ts:100 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.