chore: fixes some linter errors
This commit is contained in:
parent
0379a3ccff
commit
e4d87d13e2
2 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue