diff --git a/config/config.ts b/config/config.ts
index ae89c38..6b0a060 100644
--- a/config/config.ts
+++ b/config/config.ts
@@ -5,6 +5,11 @@ export class Config extends IBuilder {
static empty() {
return new Config({});
}
+ static withValue(key: K, value: Value) {
+ return new Config({
+ [key]: value.build(),
+ } as { [key in K]: B });
+ }
static of }>(spec: B) {
// deno-lint-ignore no-explicit-any