svelte-file-dropzone
svelte-file-dropzone copied to clipboard
Property 'path' does not exist on type 'File'
Hello boys. When trying to use your widget, I have found out, that how you are handling File type, does not match the spec.
Currently:
- Full Path of the uploaded file is stored in
pathparameter of File type webkitRelativePathparameter is not used at all- Typescript is throwing an error that
file.pathdoes not exist on type File
Expected:
- Full path of the uploaded file is stored in
webkitRelativePathparameter of File type