- 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)
15 lines
412 B
Svelte
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>
|