Skip to content

gunshi / default / Commandable

Type Alias: Commandable<G>

ts
type Commandable<G> = 
  | Command<G>
  | LazyCommand<G, {
}>;

Define a command type.

Type Parameters

Type ParameterDefault typeDescription
G extends GunshiParamsConstraintDefaultGunshiParamsA type extending GunshiParams to specify the shape of command.

Released under the MIT License.