diff --git a/config/config.ts b/config/config.ts
index bdfccd5..242dd3a 100644
--- a/config/config.ts
+++ b/config/config.ts
@@ -21,6 +21,12 @@ export class Config extends IBuilder {
}
return new Config(answer);
}
+ withValue(key: K, value: Value) {
+ return new Config({
+ ...this.a,
+ [key]: value.build(),
+ } as A & { [key in K]: B });
+ }
addValue(key: K, value: Value) {
return new Config({
...this.a,