summaryrefslogtreecommitdiff
path: root/packages/integrations/svelte/src
diff options
context:
space:
mode:
authorGravatar Josh Goldberg ✨ <git@joshuakgoldberg.com> 2024-08-08 05:54:04 -0400
committerGravatar GitHub <noreply@github.com> 2024-08-08 17:54:04 +0800
commit4c1b769bcf0da535b9c754162ece3afedc10d822 (patch)
tree090c3e1ffb698e2bcd28375aab1769df685cd90b /packages/integrations/svelte/src
parent9aaf58c1339b54f2c1394e718a0f6f609f0b6342 (diff)
downloadastro-4c1b769bcf0da535b9c754162ece3afedc10d822.tar.gz
astro-4c1b769bcf0da535b9c754162ece3afedc10d822.tar.zst
astro-4c1b769bcf0da535b9c754162ece3afedc10d822.zip
chore: bump typescript-eslint to v8 (#11649)
Diffstat (limited to 'packages/integrations/svelte/src')
-rw-r--r--packages/integrations/svelte/src/editor.cts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/svelte/src/editor.cts b/packages/integrations/svelte/src/editor.cts
index 2d426cf1b..b61c0e74d 100644
--- a/packages/integrations/svelte/src/editor.cts
+++ b/packages/integrations/svelte/src/editor.cts
@@ -13,7 +13,7 @@ export function toTSX(code: string, className: string): string {
'export default class extends __sveltets_2_createSvelte2TsxComponent(',
`export default function ${className}__AstroComponent_(_props: typeof Component.props): any {}\nlet Component = `
);
- } catch (e: any) {
+ } catch {
return result;
}