mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-14 12:20:34 +00:00
refactor: specify the arg type of onInputStatusPush
This commit is contained in:
parent
9feab4bc79
commit
2c14281168
@ -105,7 +105,16 @@ export interface IKernelMsgListener {
|
|||||||
|
|
||||||
onImportOldDbProgressUpdate(importOldDbMsgNotifyInfo: unknown): void;
|
onImportOldDbProgressUpdate(importOldDbMsgNotifyInfo: unknown): void;
|
||||||
|
|
||||||
onInputStatusPush(inputStatusInfo: unknown): void;
|
onInputStatusPush(inputStatusInfo: {
|
||||||
|
chatType: number;
|
||||||
|
eventType: number;
|
||||||
|
fromUin: string;
|
||||||
|
interval: string;
|
||||||
|
showTime: string;
|
||||||
|
statusText: string;
|
||||||
|
timestamp: string;
|
||||||
|
toUin: string;
|
||||||
|
}): void;
|
||||||
|
|
||||||
onKickedOffLine(kickedInfo: unknown): void;
|
onKickedOffLine(kickedInfo: unknown): void;
|
||||||
|
|
||||||
@ -341,7 +350,16 @@ export class MsgListener implements IKernelMsgListener {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onInputStatusPush(inputStatusInfo: unknown) {
|
onInputStatusPush(inputStatusInfo: {
|
||||||
|
chatType: number;
|
||||||
|
eventType: number;
|
||||||
|
fromUin: string;
|
||||||
|
interval: string;
|
||||||
|
showTime: string;
|
||||||
|
statusText: string;
|
||||||
|
timestamp: string;
|
||||||
|
toUin: string;
|
||||||
|
}) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user