diff --git a/src/Dropzone.tsx b/src/Dropzone.tsx index da29a80..1dae393 100644 --- a/src/Dropzone.tsx +++ b/src/Dropzone.tsx @@ -500,7 +500,7 @@ class Dropzone extends React.Component { + previews: any = files.map(f => { return ( //@ts-ignore | React.ChangeEvent, ): Array => { - let items = null + let items: any = null if ('dataTransfer' in event) { const dt = event.dataTransfer