chore: fix type errors and tests

This commit is contained in:
Enrico Sacchetti 2024-01-11 17:07:50 -05:00
commit 6cb1eb579a
4 changed files with 9 additions and 22 deletions

View file

@ -29,7 +29,7 @@
/>
<FileUploader
kind="danger-ghost"
kind="danger--ghost"
size="lg"
bind:this="{fileUploader}"
multiple
@ -38,7 +38,7 @@
labelDescription="Only JPEG files are accepted."
accept="{['.jpg', '.jpeg']}"
status="complete"
bind:files
bind:files="{files}"
on:add="{(e) => {
console.log(e.detail); // File[]
}}"