style: 强类型大法
This commit is contained in:
1 parent
76501bae34
commit
70945cf2d8
191 files changed
+923
-806
No files matched your search
@@ -1,5 +1,4 @@
|
||||
export interface OB11User {
|
||||
[key: string]: any;
|
||||
user_id: number; // 用户ID
|
||||
nickname: string; // 昵称
|
||||
remark?: string; // 备注
|
||||
|
||||
@@ -42,7 +42,7 @@ export interface OB11Return<DataType> {
|
||||
retcode: number;
|
||||
data: DataType;
|
||||
message: string;
|
||||
echo?: any; // ws调用api才有此字段
|
||||
echo?: unknown; // ws调用api才有此字段
|
||||
wording?: string; // go-cqhttp字段,错误信息
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user