From 5519fa9c0e77151ca88b0a3fa2531fb8e59c93d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 25 Aug 2024 21:59:07 +0800 Subject: [PATCH] style: type --- src/common/utils/QQBasicInfo.ts | 2 -- src/onebot/types/message.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/utils/QQBasicInfo.ts b/src/common/utils/QQBasicInfo.ts index 8125b614b..f75018350 100644 --- a/src/common/utils/QQBasicInfo.ts +++ b/src/common/utils/QQBasicInfo.ts @@ -77,5 +77,3 @@ export class QQBasicInfoWrapper { return { appid: systemPlatform === 'linux' ? '537240795' : '537240709', qua: this.getQUAInternal() }; } } - -export let QQBasicInfo: QQBasicInfoWrapper | undefined; diff --git a/src/onebot/types/message.ts b/src/onebot/types/message.ts index e9a066123..25465dea1 100644 --- a/src/onebot/types/message.ts +++ b/src/onebot/types/message.ts @@ -156,7 +156,7 @@ export interface OB11MessageCustomMusic { export interface OB11MessageJson { type: OB11MessageDataType.json; - data: { config: { token: string } } & any; + data: { config: { token: string }, data: string }; } export interface OB11MessageDice {