From 93e27d8bf4e0c6922bfe257fa5bf5881a9b7c6bd Mon Sep 17 00:00:00 2001 From: BluJ Date: Tue, 14 Feb 2023 15:30:12 -0700 Subject: [PATCH] chore: simplify the type of of in the config --- config/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.ts b/config/config.ts index cd4ef3e..c5777a1 100644 --- a/config/config.ts +++ b/config/config.ts @@ -13,7 +13,7 @@ export class Config extends IBuilder { return Config.empty().withValue(key, value); } - static of }, C extends ValueSpec>(spec: B) { + static of }>(spec: B) { // deno-lint-ignore no-explicit-any const answer: { [K in keyof B]: BuilderExtract } = {} as any; for (const key in spec) {