diff --git a/admin/pages/DocsBrowser.svelte b/admin/pages/DocsBrowser.svelte index e28ba2e..25717cb 100644 --- a/admin/pages/DocsBrowser.svelte +++ b/admin/pages/DocsBrowser.svelte @@ -29,6 +29,14 @@ index = status === 200 ? data : {}; } + const type_to_syntax = { + callexpression: "()", + objectexpression: "{}", + "function": "()", + "class": "{}", + "method": "()" + } + onMount(async () => { await load_index(); }); @@ -38,6 +46,7 @@ $: if(params.wild && params.wild !== url) { load_docs(params.wild); } +