✏️ 类型修正

This commit is contained in:
BTMuli
2023-12-22 21:48:38 +08:00
parent bb296ce9d1
commit d94f4cff9d
2 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
/**
* @file plugins/Hutao/types/Weapon.d.ts
* @description 武器组件类型定义
* @since Beta v0.3.8
* @since Beta v0.3.9
*/
/**
@@ -51,7 +51,7 @@ declare namespace TGApp.Plugins.Hutao.Weapon {
/**
* @description 精炼描述
* @since Beta v0.3.8
* @since Beta v0.3.9
* @memberof TGApp.Plugins.Hutao.Weapon
* @interface RhiAffix
* @property {string} Name 精炼名称
@@ -60,7 +60,7 @@ declare namespace TGApp.Plugins.Hutao.Weapon {
*/
interface RhiAffix {
Name: string;
Description: Array<{
Descriptions: Array<{
Level: number;
Description: string;
}>;

View File

@@ -1,7 +1,7 @@
/**
* @file types/App/Weapon.d.ts
* @description 本应用的武器类型定义文件
* @since Beta v0.3.8
* @since Beta v0.3.9
*/
declare namespace TGApp.App.Weapon {
@@ -30,7 +30,7 @@ declare namespace TGApp.App.Weapon {
/**
* @description 转换后的武器数据
* @since Beta v0.3.8
* @since Beta v0.3.9
* @interface WikiItem
* @memberof TGApp.App.Weapon
* @property {number} id 武器 id
@@ -40,7 +40,7 @@ declare namespace TGApp.App.Weapon {
* @property {string} weapon 武器类型
* @property {TGApp.App.Calendar.Material[]} materials 武器培养材料
* @property {TGApp.Plugins.Hutao.Weapon.RhiAffix} affix 精炼描述
* @property {string|string[]} story 武器故事
* @property {string[]} story 武器故事
* @return WikiItem
*/
interface WikiItem {
@@ -51,6 +51,6 @@ declare namespace TGApp.App.Weapon {
weapon: string;
materials: TGApp.App.Calendar.Material[];
affix: TGApp.Plugins.Hutao.Weapon.RhiAffix;
story: string | string[];
story: string[];
}
}