From baa259b7f23eead2f4a54d6ed53b19a4a116da27 Mon Sep 17 00:00:00 2001 From: Daniel Nalborczyk Date: Sat, 19 Feb 2022 20:18:34 -0500 Subject: [PATCH] fix: remove type assertion --- cli/run/batchWarnings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/run/batchWarnings.ts b/cli/run/batchWarnings.ts index 7543d849f6b..cd13463c6eb 100644 --- a/cli/run/batchWarnings.ts +++ b/cli/run/batchWarnings.ts @@ -242,7 +242,7 @@ const deferredHandlers: { ' imported from external module "' + warning.source + '" but never used in ' + - printQuotedStringList((warning.sources as string[]).map(id => relativeId(id))) + printQuotedStringList(warning.sources!.map(id => relativeId(id))) ); } }