Closed rscotten closed 4 years ago
Merging #950 into master will not change coverage. The diff coverage is
25.00%
.
@@ Coverage Diff @@
## master #950 +/- ##
=======================================
Coverage 88.33% 88.33%
=======================================
Files 29 29
Lines 797 797
=======================================
Hits 704 704
Misses 93 93
Thanks for getting this in so quickly!
Description
This PR fixes a type issue in the PR #936 in which the
uploadFile()
function for file storage uploading was allowed to take aBlob
type. Typing the file option to haveFile | Blob
broke the type checking for theUploadFileOptions
type definition, and my solution was to make the type generic with Conditional Types.Check List
If not relevant to pull request, check off as complete
Relevant Issues
936