Use new TS option to preserve imports in tests

These assertions were here to prevent imports (needed for svelte-inine-compile) from being removed.
This commit is contained in:
Ryan Gossiaux
2022-01-17 16:49:49 -05:00
parent 5d83d35e71
commit 6d2aa60d22
62 changed files with 124 additions and 74 deletions

View File

@@ -1,5 +1,6 @@
<script lang="ts">
import { useMenuContext, MenuStates, MenuItemData } from "./Menu.svelte";
import type { MenuItemData } from "./Menu.svelte";
import { useMenuContext, MenuStates } from "./Menu.svelte";
import { useId } from "$lib/hooks/use-id";
import { Focus } from "$lib/utils/calculate-active-index";
import { afterUpdate, onDestroy, onMount, tick } from "svelte";