From 858884365252332dba816b9b46d08225188fe103 Mon Sep 17 00:00:00 2001 From: Andy Hayden Date: Sun, 31 Jul 2022 16:30:02 +0100 Subject: [PATCH] fix TS2322 compile error I'm unsure why this wasn't noticed by the test suite... --- main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.ts b/main.ts index 31216b8..b708318 100644 --- a/main.ts +++ b/main.ts @@ -117,7 +117,7 @@ async function main(args: string[]) { if (a.test instanceof Array) { tests = a.test; } else if (a.test) { - tests = [a.test]; + tests = [a.test as string]; } const thunk = testsThunk(tests);