mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-16 09:58:13 +08:00
✏️ 类型修正
This commit is contained in:
7
src/plugins/Hutao/types/Abyss.d.ts
vendored
7
src/plugins/Hutao/types/Abyss.d.ts
vendored
@@ -158,6 +158,7 @@ declare namespace TGApp.Plugins.Hutao.Abyss {
|
|||||||
*/
|
*/
|
||||||
export interface RankData {
|
export interface RankData {
|
||||||
// todo
|
// todo
|
||||||
|
data: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -217,7 +218,7 @@ declare namespace TGApp.Plugins.Hutao.Abyss {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @description 角色深渊上场率
|
* @description 角色深渊上场率
|
||||||
* @since Alpha v0.2.0
|
* @since Alpha v0.2.1
|
||||||
* @interface AvatarUp
|
* @interface AvatarUp
|
||||||
* @property {number} floor - 楼层
|
* @property {number} floor - 楼层
|
||||||
* @property {number} ranks[].item - 角色ID
|
* @property {number} ranks[].item - 角色ID
|
||||||
@@ -226,10 +227,10 @@ declare namespace TGApp.Plugins.Hutao.Abyss {
|
|||||||
*/
|
*/
|
||||||
export interface AvatarUp {
|
export interface AvatarUp {
|
||||||
floor: number;
|
floor: number;
|
||||||
ranks: {
|
ranks: Array<{
|
||||||
item: number;
|
item: number;
|
||||||
rate: number;
|
rate: number;
|
||||||
};
|
}>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user