Closed iamandrewluca closed 3 years ago
From implementation we can see that acceptedFiles can be optional. This change would allow to pass undefined to second param
acceptedFiles
import attrAccept from 'attr-accept' export function validate(file: File, accept: string | undefined) { return attrAccept(file, accept) }
From implementation we can see that
acceptedFiles
can be optional.This change would allow to pass undefined to second param