Skip to content

gunshi / default / LazyCommand

Type Alias: LazyCommand()<Options>

ts
type LazyCommand<Options> = () => Awaitable<Command<Options>>;

Lazy command interface. Lazy command that's not loaded until it is executed.

Type Parameters

Type ParameterDefault type
Options extends ArgOptionsArgOptions

Returns

Awaitable<Command<Options>>

Released under the MIT License.