From 6f1f489e1a81c7beb15cdc3d13d5562ec6abf686 Mon Sep 17 00:00:00 2001 From: Christian Byrne Date: Thu, 29 May 2025 20:20:13 -0700 Subject: [PATCH] Update src/composables/widgets/useTextUploadWidget.ts Co-authored-by: filtered <176114999+webfiltered@users.noreply.github.com> --- src/composables/widgets/useTextUploadWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/widgets/useTextUploadWidget.ts b/src/composables/widgets/useTextUploadWidget.ts index 9640a52a1..4e101e339 100644 --- a/src/composables/widgets/useTextUploadWidget.ts +++ b/src/composables/widgets/useTextUploadWidget.ts @@ -59,7 +59,7 @@ async function uploadTextFile(file: File): Promise { async function uploadTextFiles(files: File[]): Promise { const uploadPromises = files.map(uploadTextFile) const results = await Promise.all(uploadPromises) - return results.filter((path): path is string => path !== null) + return results.filter((path) => path !== null) } /**