Repository navigation
Conversation
…dts from tsdx, bump typescript to 4.9.5
size-limit report 📦
|
|
After thorough examination within the maintainers team, we decided to drop this promise feature due to problems with resolving promise when user cancels selection. Browsers do not fire any meaningful events when a user cancels selection, so we weren't able to resolve or reject the promise in that scenario, leaving the promise in the "pending" state indefinitely. This is not congruent with the promise spec and expectations of users, and it adds unnecessary performance overhead. |
This is a PR containing requested changes mentioned in #56
After this update, the openFilePicker function returns a promise with plain files, files content and errors.
Other important changes from maintainer's point of view:
@Jaaneek please check it out