From 734ba7cbf1dcf18b4cbf9e164afa4676c5851730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Tue, 4 Jun 2024 11:21:31 +0200 Subject: [PATCH] Add a type to resolve a TypeScript red squiggly (#1161) Co-authored-by: Daniel D. Beck --- scripts/dist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dist.ts b/scripts/dist.ts index dd4cf75838c..38a7f7399e0 100644 --- a/scripts/dist.ts +++ b/scripts/dist.ts @@ -246,7 +246,7 @@ function warnOnNeedlessOverrides(id, overridden, generated) { function main() { // Map from .yml to .dist.yml to filter out duplicates. - const sourceToDist = new Map( + const sourceToDist = new Map( argv.filenames.map((filePath: string) => { let { dir, name, ext } = path.parse(filePath); if (ext !== ".yml") {