mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
✏️ 类型修正
This commit is contained in:
6
src/plugins/Hutao/types/Weapon.d.ts
vendored
6
src/plugins/Hutao/types/Weapon.d.ts
vendored
@@ -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;
|
||||
}>;
|
||||
|
||||
8
src/types/App/Weapon.d.ts
vendored
8
src/types/App/Weapon.d.ts
vendored
@@ -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[];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user