✏️ 修正类型

This commit is contained in:
目棃
2024-11-11 13:41:02 +08:00
parent 272f3bc14a
commit d35b94f79f
10 changed files with 42 additions and 42 deletions

View File

@@ -49,7 +49,7 @@ onBeforeMount(async () => {
next.value = TSAvatarBirth.getNextAvatarBirth();
});
function toBirth(type: TGApp.Archive.Birth.RoleItem) {
function toBirth(type: TGApp.Archive.Birth.RoleItem | true): void {
let dateStr;
if (type === true) {
const date = new Date();