mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-23 16:30:07 +08:00
fix: type definition for json data
This commit is contained in:
parent
7bb57cd78a
commit
a22ef67486
@ -156,7 +156,7 @@ export interface OB11MessageCustomMusic {
|
|||||||
|
|
||||||
export interface OB11MessageJson {
|
export interface OB11MessageJson {
|
||||||
type: OB11MessageDataType.json;
|
type: OB11MessageDataType.json;
|
||||||
data: { config?: { token: string }, data: string };
|
data: { config?: { token: string }, data: string | object };
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface OB11MessageDice {
|
export interface OB11MessageDice {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user