fix(file-uploader): FileUploader change detail should be File[] instead of FileList (#1117)

Fixes #1112
This commit is contained in:
metonym 2022-02-21 08:34:03 -08:00 committed by GitHub
commit 7602731b0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 38 additions and 18 deletions

View file

@ -69,11 +69,11 @@ export default class FileUploader extends SvelteComponentTyped<
{
add: CustomEvent<File[]>;
remove: CustomEvent<File[]>;
change: CustomEvent<File[]>;
click: WindowEventMap["click"];
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
change: WindowEventMap["change"];
keydown: WindowEventMap["keydown"];
},
{}