svelte-file-dropzone icon indicating copy to clipboard operation
svelte-file-dropzone copied to clipboard

Property 'path' does not exist on type 'File'

Open HighPriest opened this issue 8 months ago • 0 comments

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 path parameter of File type
  • webkitRelativePath parameter is not used at all
  • Typescript is throwing an error that file.path does not exist on type File

Image

Expected:

  • Full path of the uploaded file is stored in webkitRelativePath parameter of File type

HighPriest avatar Feb 08 '25 03:02 HighPriest