mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
fix(types): correctly type validateFiles
in FileUploaderDropContainer
(#1149)
This commit is contained in:
parent
cc7b30a620
commit
853942f998
4 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
|||
/**
|
||||
* Override the default behavior of validating uploaded files
|
||||
* The default behavior does not validate files
|
||||
* @type {(files: File) => File}
|
||||
* @type {(files: File[]) => File[]}
|
||||
*/
|
||||
export let validateFiles = (files) => files;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue