You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey! 👋🏼
A totally temporary solution, until it is fixed:
import{FileUploader}from"react-drag-drop-files";importtypeFileUploaderSrcfrom"react-drag-drop-files/dist/src/FileUploader";constFileUploaderTyped: typeofFileUploaderSrc=FileUploader;// Props are now properly typed<FileUploaderTyped/>
Seems like the .d.ts file is being built with wrong contents. Hope it gets fixed soon 😄
The only thing that stops me from using this library is the bad typescript types
The text was updated successfully, but these errors were encountered: