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 Parameter | Default type |
|---|---|
A extends Args | Args |
