You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
429 B

import AppConfig from "./app_config.json"
import ExeConfig from "./exe_config.json"
// 定义主题类型
type ThemeType = "light" | "dark" | "auto"
// 定义语言类型
type LanguageType = "zh" | "en"
export type IConfig = typeof AppConfig &
Pick<Partial<typeof AppConfig>, "common.theme"> & {
language: LanguageType
"common.theme": ThemeType
}
export default {
appConfig: AppConfig,
exeConfig: ExeConfig,
}