Fix: i18n settings (#91)

* fix(i18n): Getting language configuration exception

* feat(i18n): Change settings display
This commit is contained in:
Hayden
2025-01-13 11:58:17 +08:00
committed by GitHub
parent 97b26549ce
commit 14bb6f194d
3 changed files with 29 additions and 5 deletions

View File

@@ -157,6 +157,8 @@ declare namespace ComfyAPI {
class ComfySettingsDialog {
addSetting: (params: SettingParams) => { value: any }
getSettingValue: <T>(id: string, defaultValue?: T) => T
setSettingValue: <T>(id: string, value: T) => void
}
}