types: 调整类型

This commit is contained in:
kailong321200875
2023-06-26 17:55:12 +08:00
parent de0cb43566
commit 24c8af9183
15 changed files with 32 additions and 26 deletions

17
types/global.d.ts vendored
View File

@@ -45,4 +45,21 @@ declare global {
code: string
data: T extends any ? T : T & any
}
declare interface ThemeTypes {
elColorPrimary?: string
leftMenuBorderColor?: string
leftMenuBgColor?: string
leftMenuBgLightColor?: string
leftMenuBgActiveColor?: string
leftMenuCollapseBgActiveColor?: string
leftMenuTextColor?: string
leftMenuTextActiveColor?: string
logoTitleTextColor?: string
logoBorderColor?: string
topHeaderBgColor?: string
topHeaderTextColor?: string
topHeaderHoverColor?: string
topToolBorderColor?: string
}
}