update: interface IOB11NetworkAdapter
This commit is contained in:
1 parent
704e5f7134
commit
33ef3e7d59
1 file changed
+7
@@ -0,0 +1,7 @@
|
|||||||
|
import BaseAction from '@/onebot/action/BaseAction';
|
||||||
|
import { OB11BaseEvent } from '@/onebot/event/OB11BaseEvent';
|
||||||
|
|
||||||
|
export interface IOB11NetworkAdapter {
|
||||||
|
registerAction<T extends BaseAction<P, R>, P, R>(action: T): void;
|
||||||
|
onEvent<T extends OB11BaseEvent>(event: T): void;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user