chore: fixes some linter errors

This commit is contained in:
Lewis Wynne 2026-03-23 21:13:10 +00:00
parent 0379a3ccff
commit e4d87d13e2
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,7 @@
<script lang="ts">
let { onClose, children }: { onClose: () => void; children: any } = $props();
import type { Snippet } from 'svelte';
let { onClose, children }: { onClose: () => void; children: Snippet } = $props();
function handleKeydown(e: KeyboardEvent) {
if (e.key === 'Escape') onClose();