diff --git a/packages/experiments/src/app.d.ts b/packages/experiments/src/app.d.ts index 7a47e7d0e..7da6f1b10 100644 --- a/packages/experiments/src/app.d.ts +++ b/packages/experiments/src/app.d.ts @@ -12,13 +12,15 @@ declare namespace App { // interface Stuff {} } -namespace svelte.JSX { +declare namespace svelteHTML { interface SvelteWindowProps { - onbeforeinstallprompt?: - | EventHandler - | undefined - | null - onappinstalled?: EventHandler | undefined | null + 'on:beforeinstallprompt'?: ( + event: EventHandler | undefined | null, + ) => any + + 'on:appinstalled'?: ( + event: EventHandler | undefined | null, + ) => any } interface HTMLProps { diff --git a/packages/experiments/src/components/layout/FeedLayout.svelte b/packages/experiments/src/components/layout/FeedLayout.svelte index 5aeeaa669..59394038b 100644 --- a/packages/experiments/src/components/layout/FeedLayout.svelte +++ b/packages/experiments/src/components/layout/FeedLayout.svelte @@ -7,8 +7,7 @@ $: testClasses = testMode ? 'border-2 border-white/30' : '' + class="relative block h-full w-full overflow-hidden text-white">
diff --git a/packages/experiments/src/components/layout/HomeLayout.svelte b/packages/experiments/src/components/layout/HomeLayout.svelte index 202f995e5..3343b4474 100644 --- a/packages/experiments/src/components/layout/HomeLayout.svelte +++ b/packages/experiments/src/components/layout/HomeLayout.svelte @@ -6,8 +6,7 @@ $: testClasses = testMode ? 'border-2 border-white/30' : '' + class="relative block h-full w-full overflow-hidden text-white">