diff --git a/src/components/TopBar.svelte b/src/components/TopBar.svelte index 39276da..78d292d 100644 --- a/src/components/TopBar.svelte +++ b/src/components/TopBar.svelte @@ -30,7 +30,7 @@ } onMount(() => { - languages = CodeMirror.modeInfo.map((e) => ({ + languages = CodeMirror.modeInfo.map((e: any) => ({ text: e.name, value: shorten(e.name), data: { mime: e.mime, mode: e.mode }, @@ -64,7 +64,7 @@ } -