gunshi / default / PluginExtension
Type Alias: PluginExtension()<T, G>
ts
type PluginExtension<T, G> = (core) => T;
Plugin extension for CommandContext
Type Parameters
Type Parameter | Default type |
---|---|
T | Record <string , unknown > |
G extends GunshiParams | DefaultGunshiParams |
Parameters
Parameter | Type |
---|---|
core | CommandContextCore <G > |
Returns
T