style: 强类型大法
This commit is contained in:
1 parent
ac193cc94a
commit
15854c605b
191 files changed
+923
-806
No files matched your search
@@ -3,7 +3,7 @@ import { EventType } from '@/onebot/event/OneBotEvent';
|
||||
import { NapCatCore } from '@/core';
|
||||
|
||||
export class OB11FriendRequestEvent extends OB11BaseNoticeEvent {
|
||||
post_type = EventType.REQUEST;
|
||||
override post_type = EventType.REQUEST;
|
||||
request_type = 'friend';
|
||||
|
||||
user_id: number;
|
||||
|
||||
Reference in new issue
Block a user