File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55 " monaco" ,
66 " svelte"
77 ],
8- "version" : " 1.0.3 " ,
8+ "version" : " 1.0.4 " ,
99 "scripts" : {
1010 "dev" : " vite dev" ,
1111 "build" : " vite build" ,
Original file line number Diff line number Diff line change 1919 import { createEventDispatcher } from ' svelte' ;
2020 import loader from ' @monaco-editor/loader' ;
2121
22- let monaco: typeof MonacoE | undefined = $state ();
23-
2422 const dispatch = createEventDispatcher <{
2523 ready: MonacoE .editor .IStandaloneCodeEditor ;
2624 }>();
3230 value: string ;
3331 theme? : string | undefined ;
3432 options? : MonacoE .editor .IStandaloneEditorConstructionOptions ;
33+ monaco? : typeof MonacoE ;
3534 }
3635
3736 let {
4140 options = {
4241 value ,
4342 automaticLayout: true
44- }
43+ },
44+ monaco = $bindable ()
4545 }: Props = $props ();
4646
4747 function refreshTheme() {
You can’t perform that action at this time.
0 commit comments