From 42a350695fc44a06004b1374ad6bf80293211b9a Mon Sep 17 00:00:00 2001 From: rzadp Date: Fri, 24 May 2024 16:37:17 +0200 Subject: [PATCH] fix --- src/config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config.ts b/src/config.ts index 8e56626c..c16a97ce 100644 --- a/src/config.ts +++ b/src/config.ts @@ -6,10 +6,10 @@ import { logger } from "./logger"; export type SpecType = T extends { type: "string" } ? string : T extends { type: "number" } - ? number - : T extends { type: "boolean" } - ? boolean - : never; + ? number + : T extends { type: "boolean" } + ? boolean + : never; function resolveConfig(): ConfigObject { const specs = ConfigManager.loadSpecsFromYaml(`env.faucet.config.json`);