Interface CommandConfig<TCommand, TKey>

Config for describing a command

Type Parameters

  • TCommand = any

  • TKey extends string = string

Hierarchy

  • CommandConfig

Properties

Properties

id: TKey

Id of the command

Specified by the Command decorator when declaring the command

params?: { [ K in string | number | symbol]?: TCommand[K] }

Optional parameters to set when creating the command from the config. All values need to be serializable