Skip to content

Commit

Permalink
web/receiver: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmoron committed Aug 19, 2024
1 parent 3ce4441 commit 92c6d7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/components/misc/DropReceiver.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export let classes = "";
export let draggedOver = false;
export let file: File | undefined;
export let file: Blob | File | undefined;
const dropHandler = async (ev: DragEvent) => {
draggedOver = false;
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/misc/FileReceiver.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import IconFileImport from "@tabler/icons-svelte/IconFileImport.svelte";
import IconUpload from "@tabler/icons-svelte/IconUpload.svelte";
export let file: File | undefined;
export let file: Blob | File | undefined;
export let draggedOver = false;
export let acceptTypes: string[];
export let acceptExtensions: string[];
Expand Down

0 comments on commit 92c6d7d

Please sign in to comment.