Improve VSCode support

This commit is contained in:
venashial
2022-05-07 16:37:50 -07:00
parent 179dcdcd04
commit e553f1fdbd
7 changed files with 101 additions and 9 deletions

View File

@@ -1,12 +1,12 @@
<script lang="ts">
import { SvelteComponent } from 'svelte'
import { page } from "$app/stores";
export let items: {
label: string,
/** Page href, without slash prefix */
href: string,
icon: SvelteComponent
/** An icon, as a svelte component */
icon: any, // `SvelteComponentDev` has type errors
}[];
/** Path level in URL, zero-indexed */