mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
core&ui: update type annotation for watchers
This commit is contained in:
1 parent
49693c27d4
commit
5d340608db
4 files changed
+9
-6
No files matched your search
@@ -258,7 +258,6 @@ export async function apply(ctx: Context) {
|
||||
LangSettingNode.range = range;
|
||||
ServerLangSettingNode.range = range;
|
||||
} catch (e) { /* Ignore */ }
|
||||
console.log('l', langs?.cc);
|
||||
ctx.on('system/setting', (args) => {
|
||||
if (args.hydrooj?.langs) {
|
||||
Object.assign(langs, parseLang(args.hydrooj.langs));
|
||||
|
||||
Reference in new issue
Block a user