fix(types): fix ts type error

This commit is contained in:
Soybean
2025-10-13 16:48:33 +08:00
parent d567c057a8
commit d5a3a25d3d
2 changed files with 2 additions and 2 deletions

View File

@@ -374,7 +374,7 @@ declare namespace App {
themeColor: {
title: string;
followPrimary: string;
} & Theme.ThemeColor;
} & Record<Theme.ThemeColorKey, string>;
recommendColor: string;
recommendColorDesc: string;
preset: {

View File

@@ -23,7 +23,7 @@ const appStore = useAppStore();
const themeStore = useThemeStore();
interface LoginModule {
label: string;
label: App.I18n.I18nKey;
component: Component;
}