gunshi / default / LazyCommand
Type Alias: LazyCommand<A>
ts
type LazyCommand<A> = {
(): Awaitable<
| Command<A>
| CommandRunner<A>>;
commandName?: string;
} & Omit<Command<A>, "run" | "name">;Lazy command interface. Lazy command that's not loaded until it is executed.
Type Parameters
| Type Parameter | Default type |
|---|---|
A extends Args | Args |
