types: 调整类型
This commit is contained in:
17
types/global.d.ts
vendored
17
types/global.d.ts
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user