From c111fa0837ec735bd79f4bdec8e7dc8be88861ed Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Thu, 29 Jan 2026 17:49:25 +0100 Subject: [PATCH] fix: add lang="ts" to Svelte script tags using TypeScript syntax (#21001) fix: add lang="ts" to Svelte script tags using TypeScript syntax Two Svelte components were using TypeScript type annotations (ReturnType) but their script tags were missing the lang="ts" attribute. This caused Vite/Svelte to parse them as plain JavaScript, resulting in parse errors. Fixed files: - src/lib/components/admin/Users/UserList.svelte - src/lib/components/channel/ChannelInfoModal/UserList.svelte --- src/lib/components/channel/ChannelInfoModal/UserList.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/channel/ChannelInfoModal/UserList.svelte b/src/lib/components/channel/ChannelInfoModal/UserList.svelte index bf8c9193ae..354d1002df 100644 --- a/src/lib/components/channel/ChannelInfoModal/UserList.svelte +++ b/src/lib/components/channel/ChannelInfoModal/UserList.svelte @@ -1,4 +1,4 @@ -