mirror of
https://github.com/SrIzan10/handler.git
synced 2026-05-01 10:45:17 +00:00
feat(observableHandling) : making match function a type predicate
assertion
This commit is contained in:
@@ -48,7 +48,7 @@ export type EventPlugin<T extends CommandType = 1> = {
|
||||
modTy : T
|
||||
} & Override<BasePlugin, {
|
||||
execute : ( event : Parameters<ModuleDefs[T]['execute']>, controller: Controller ) => Awaitable<Result<void,void>>
|
||||
} >;
|
||||
}>;
|
||||
|
||||
export type SernPlugin =
|
||||
CommandPlugin
|
||||
|
||||
Reference in New Issue
Block a user