Closed rolandjitsu closed 1 month ago
@tomayac please check this PR out. I've added some tests and additional typescript type support for the new handle
property.
Totals | |
---|---|
Change from base Build 6adbc2fe4dad708280f8bc60590335a892510731: | 0.0% |
Covered Lines: | 89 |
Relevant Lines: | 89 |
LGTM
I'm not sure if it matters, but you may want to replace
FileSystemHandle
with the more explicitFileSystemFileHandle
, since this is only dealing with files, not directories (for whichFileSystemDirectoryHandle
exists, both inherit fromFileSystemHandle
).
Made the handle
of type FileSystemFileHandle
on FileWithPath
and kept the internal use as FileSystemHandle
.
@tomayac can we go ahead with this PR or would you like to update yours to match this one?
@tomayac can we go ahead with this PR or would you like to update yours to match this one?
No worries with taking yous. Just close mine in favor of this. Glad the feature is landing.
:tada: This PR is included in version 1.1.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
What kind of change does this PR introduce?
Did you add tests for your changes?
If relevant, did you update the documentation?
Summary
Complete the impl. of https://github.com/react-dropzone/file-selector/pull/79 with tests and typescript types.
Does this PR introduce a breaking change?
No.
Other information