Skip to content

gunshi / default / CommandResource

Type Alias: CommandResource<A>

ts
type CommandResource<A> = object & { [Arg in GenerateNamespacedKey<KeyOfArgs<RemovedIndex<A>>, typeof ARG_PREFIX>]: string } & object;

Command resource.

Type declaration

description

ts
description: string;

Command description.

examples

ts
examples: string;

Examples usage.

Type Parameters

Type ParameterDefault type
A extends ArgsArgs

Released under the MIT License.