mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-16 09:58:13 +08:00
✏️ 类型修正以避免报错
This commit is contained in:
6
src/types/App/Calendar.d.ts
vendored
6
src/types/App/Calendar.d.ts
vendored
@@ -1,13 +1,13 @@
|
|||||||
/**
|
/**
|
||||||
* @file types/App/Calendar.d.ts
|
* @file types/App/Calendar.d.ts
|
||||||
* @description 应用素材日历相关类型定义文件
|
* @description 应用素材日历相关类型定义文件
|
||||||
* @since Beta v0.3.5
|
* @since Beta v0.3.8
|
||||||
*/
|
*/
|
||||||
|
|
||||||
declare namespace TGApp.App.Calendar {
|
declare namespace TGApp.App.Calendar {
|
||||||
/**
|
/**
|
||||||
* @description 素材日历类型
|
* @description 素材日历类型
|
||||||
* @since Beta v0.3.5
|
* @since Beta v0.3.8
|
||||||
* @interface Item
|
* @interface Item
|
||||||
* @property {number} id - 角色ID/武器ID
|
* @property {number} id - 角色ID/武器ID
|
||||||
* @property {number} contentId - 观测枢的 content_id
|
* @property {number} contentId - 观测枢的 content_id
|
||||||
@@ -28,7 +28,7 @@ declare namespace TGApp.App.Calendar {
|
|||||||
contentId: number;
|
contentId: number;
|
||||||
dropDays: number[];
|
dropDays: number[];
|
||||||
name: string;
|
name: string;
|
||||||
itemType: "character" | "weapon";
|
itemType: string; // character | weapon
|
||||||
star: number;
|
star: number;
|
||||||
bg: string;
|
bg: string;
|
||||||
icon: string;
|
icon: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user