Files
wishlist/src/lib/components/ui/card/card-title.svelte
Rasmus Q 35c1ab64e8 refactor: fix all lint errors and improve code quality
- Fix TypeScript 'any' types throughout codebase
- Add proper type definitions for wishlist items and components
- Fix missing keys in {#each} blocks
- Remove unused imports and variables
- Remove unused function parameters
- Update imports to use new schema location (/db/schema)
- Disable overly strict Svelte navigation lint rules
- Ignore .svelte.ts files from ESLint (handled by Svelte compiler)
2026-03-15 21:10:58 +00:00

15 lines
412 B
Svelte

<script lang="ts">
import { cn } from '$lib/utils';
import type { HTMLAttributes } from 'svelte/elements';
type Props = HTMLAttributes<HTMLHeadingElement> & {
children?: import('svelte').Snippet;
};
let { class: className, children, ...restProps }: Props = $props();
</script>
<h3 class={cn('font-semibold leading-none tracking-tight', className)} {...restProps}>
{@render children?.()}
</h3>