Skip to content

gunshi / default / GunshiParams

Interface: GunshiParams<P>

Gunshi unified parameter type.

This type combines both argument definitions and command context extensions.

Since

v0.27.0

Type Parameters

Type ParameterDefault typeDescription
P extends objectobjectThe type of parameters, which can include args and extensions.

Properties

PropertyTypeDescription
argsP extends object ? A : ArgsCommand argument definitions.
extensionsP extends object ? E : objectCommand context extensions.

Released under the MIT License.