Skip to content

Commit bdd147f

Browse files
committed
fix type
1 parent 25dd19c commit bdd147f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/svelte.dev/src/routes/(authed)/playground/[id]/embed/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
let { data } = $props();
1010
11-
let repl = $state() as Repl;
11+
let repl = $state() as ReturnType<typeof Repl>;
1212
1313
onMount(() => {
1414
if (data.version !== 'local') {

packages/repl/src/routes/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import { onMount } from 'svelte';
44
import '@sveltejs/site-kit/styles/index.css';
55
6-
let repl: Repl;
6+
let repl: ReturnType<typeof Repl>;
77
88
onMount(() => {
99
repl.set({

0 commit comments

Comments
 (0)