Skip to content

Type Alias: Commandable<G> ​

Define a command type.

Signature ​

ts
export type Commandable<G extends GunshiParamsConstraint = DefaultGunshiParams> = Command<G> | LazyCommand<G, {}>

Type Parameters ​

NameDescription
G extends GunshiParamsConstraint = DefaultGunshiParamsA type extending GunshiParams to specify the shape of command.

Released under the MIT License.