fix(file-uploader): update clearFiles accessor description (#1122)

The `clearFiles` prop description currently reads "Override the default behavior of clearing the array of uploaded files."

This is misleading as `clearFiles` is a component accessor, not a `let` prop.
This commit is contained in:
metonym 2022-02-21 09:24:50 -08:00 committed by GitHub
commit 2f3cff2942
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 16 deletions

View file

@ -79,7 +79,7 @@ export default class FileUploader extends SvelteComponentTyped<
{}
> {
/**
* Override the default behavior of clearing the array of uploaded files
* Programmatically clear the uploaded files
*/
clearFiles: () => void;
}