Closed jordansren closed 4 years ago
(Also this is an area where typescript would be super helpful in documenting the behavior of a user-provided function argument.)
@zachmullen Nope, this level of detail isn't documented.
Agree, a partial rewrite in typescript would provide a lot of value.
@jordansren please add a patch version bump in package.json
to trigger an NPM release.
2.2.3 is appropriate, I think.
When uploading files
dest
gets set before thepreUpload
function can make any changes todest
. This change will allowpreUpload
to potentially updatedest
, while keepingdest
the same ifpreUpload
does not make any updates to it.