Skip to content

Commit 284dd06

Browse files
committed
use import { type X } from "svelte/elements" instead of import { type X } from "svelte/elements" to fix vite:dep-scan error. Fixes #624
1 parent 9e8630d commit 284dd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte-ux/src/lib/components/TableOfContents.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { createEventDispatcher, onDestroy, onMount, type ComponentProps } from 'svelte';
3-
import { type HTMLAttributes } from 'svelte/elements';
3+
import type { HTMLAttributes } from 'svelte/elements';
44
import { BROWSER } from 'esm-env';
55
import { buildTree, type TreeNode } from '@layerstack/utils/array';
66
import { cls } from '@layerstack/tailwind';

0 commit comments

Comments
 (0)