Complete coverage of config classes

This commit is contained in:
Cooldude2606 committed 2026-03-17 21:31:46 +00:00
1 parent 4868ed2d63
commit 4986c9af99
2 files changed
+224 -167

No files matched your search

+1 -1
View File
@@ -794,7 +794,7 @@ export class Config<
throw new InvalidValue(`Cannot set property on non-object field '${name}'`);
}
const prev = this.fields[name] as Record<string, unknown>;
const prev = this.staging.get(name) as Record<string, unknown>;
const updated = {...prev || {}};
if (value !== undefined) {