feat: attempt to enhance type inference
This commit is contained in:
12 files changed
+180
-169
No files matched your search
@@ -1,9 +1,9 @@
|
||||
import SendMsg, { ContextMode } from './SendMsg';
|
||||
import {ContextMode, SendMsgBase} from './SendMsg';
|
||||
import { ActionName, BaseCheckResult } from '@/onebot/action/router';
|
||||
import { OB11PostSendMsg } from '@/onebot/types';
|
||||
|
||||
// 未检测参数
|
||||
class SendPrivateMsg extends SendMsg {
|
||||
class SendPrivateMsg extends SendMsgBase {
|
||||
actionName = ActionName.SendPrivateMsg;
|
||||
contextMode: ContextMode = ContextMode.Private;
|
||||
|
||||
|
||||
Reference in new issue
Block a user