Skip to content

Commands.addCommand method

Commands › addCommand

Unofficial

Add a command to the command registry.

Signature:

addCommand(command: Command): void

Parameters:

ParameterTypeDescription
commandCommandCommand to add.

Returns: void