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

@ -73,8 +73,8 @@ export interface FileUploaderButtonProps
export default class FileUploaderButton extends SvelteComponentTyped<
FileUploaderButtonProps,
{
change: CustomEvent<File[]>;
keydown: WindowEventMap["keydown"];
change: WindowEventMap["change"];
click: WindowEventMap["click"];
},
{ labelText: {} }