-
Notifications
You must be signed in to change notification settings - Fork 317
fix: remove all empty import statements #1772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -2,7 +2,7 @@ | |||||
import { setContext } from "svelte"; | ||||||
import { listGroup } from "."; | ||||||
import clsx from "clsx"; | ||||||
import { type ListgroupProps, ListgroupItem } from "$lib"; | ||||||
import type { ListgroupProps, ListgroupItem } from "$lib"; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Restore runtime import for Converting -import type { ListgroupProps, ListgroupItem } from "$lib";
+import { ListgroupItem, type ListgroupProps } from "$lib"; 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||
import { getTheme } from "$lib/theme/themeUtils"; | ||||||
let { children, items, active, onclick, horizontal, rounded, border, class: className, itemClass, iconClass, ...restProps }: ListgroupProps = $props(); | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restore value import for
Label
component.Label
is rendered in the template (Line 19), so making it a type-only import removes the runtime value and triggers a reference error at build/runtime. Reintroduce a value import forLabel
.📝 Committable suggestion
🤖 Prompt for AI Agents