🏷️ fix(type): 一些 Type 改动

This commit is contained in:
BTMuli
2023-04-08 14:31:05 +08:00
parent 80212f2592
commit 628366a876
23 changed files with 117 additions and 533 deletions

View File

@@ -7,7 +7,6 @@
import { getPostData } from "../request/post";
import { type GachaCard, type GachaData } from "../interface/gacha";
import { type Map } from "../../../interface/Base";
/**
* @description 根据卡池信息转为渲染用的卡池信息
@@ -18,7 +17,7 @@ import { type Map } from "../../../interface/Base";
*/
export async function getGachaCard (
gachaData: GachaData[],
poolCover: Map<string> | undefined = undefined,
poolCover: Record<number, string> | undefined = undefined,
): Promise<GachaCard[]> {
const gachaCard: GachaCard[] = [];
await Promise.allSettled(