File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1111 import srcdoc_styles from ' ./srcdoc/styles.css?raw' ;
1212 import ErrorOverlay from ' ./ErrorOverlay.svelte' ;
1313 import type { CompileError } from ' svelte/compiler' ;
14- import type { BundleResult } from ' $lib/public ' ;
15- import type Bundler from ' $lib/Bundler.svelte ' ;
14+ import type Bundler from ' ../Bundler.svelte ' ;
15+ import type { BundleResult } from ' ../public ' ;
1616
1717 interface Props {
1818 error: Error | null ;
5454 // svelte-ignore state_referenced_locally
5555 let current_log_group = logs ;
5656
57- let iframe: HTMLIFrameElement = $state ();
57+ let iframe = $state < HTMLIFrameElement > ();
5858 let pending_imports = $state (0 );
5959 let pending = false ;
6060
6767 let last_console_event: Log ;
6868
6969 onMount (() => {
70- proxy = new ReplProxy (iframe , {
70+ proxy = new ReplProxy (iframe ! , {
7171 on_fetch_progress : (progress ) => {
7272 pending_imports = progress ;
7373 },
105105 }
106106 });
107107
108- iframe .addEventListener (' load' , () => {
108+ iframe ! .addEventListener (' load' , () => {
109109 proxy ?.handle_links ();
110110 ready = true ;
111111 });
Original file line number Diff line number Diff line change 6767 // TODO get rid
6868 export function toJSON() {
6969 return {
70- imports: bundler .result ?.imports ?? [],
70+ imports: bundler ! .result ?.imports ?? [],
7171 files: workspace .files ,
7272 tailwind: workspace .tailwind
7373 };
You can’t perform that action at this time.
0 commit comments