Skip to main content

Type Alias: CommandId

CommandId = BuiltInCommandId | string & object

Defined in: api/command.ts:68

Any command id: one the library ships, or one a plugin registers. The string & {} half keeps a consumer's own id legal and still lets an editor suggest the built-in ones — the same open shape FieldKey keeps over CoreFieldKey.