From 7ea2827043cbba0fb358ceff77a818d87dd784cc Mon Sep 17 00:00:00 2001 From: Aiden Fujiwara Date: Thu, 28 Sep 2023 11:45:34 -0700 Subject: [PATCH] updated foremanConfig type definition --- src/configFile.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/configFile.ts b/src/configFile.ts index e776794..463d498 100644 --- a/src/configFile.ts +++ b/src/configFile.ts @@ -2,7 +2,9 @@ import { parse } from "toml"; import { readFile } from "fs"; import findUp from "find-up"; interface foremanConfig { - tools: foremanTool[]; + tools: { + [tool_name: string]: foremanTool + }; } interface foremanTool {