Commit graph

6 commits

Author SHA1 Message Date
Mikael Finstad
448e667fbd
fix various type issues (#4958)
neglected in #4911:

- bytesTotal can be null (also handle that bug in runtime)
- progress is not a property on the progress object
- use `satisfies` instead of `as`
- add todo about broken `throttle` implementation
- in emitSocketProgress, progressData should not have the FileProgress type, as it is a completely different type (it comes from companion)
2024-02-28 16:55:41 +08:00
Mikael Finstad
6b4f5b68f7
@uppy/compressor: migrate to TS (#4907)
* refactor compressor to ts

* rename Options

* export opts
2024-02-12 23:10:49 +08:00
Merlijn Vos
c51032c9d1
@uppy/xhr-upload: migrate to TS (#4892) 2024-01-29 10:12:26 +01:00
Antoine du Hamel
f76d76bafd
@uppy/utils: improve preprocess and postprocess types (#4841) 2023-12-28 17:03:15 +01:00
Murderlon
c48aa82a8a
@uppy/core: refactor to TS
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
2023-12-14 19:39:43 +01:00
Antoine du Hamel
51ecc66e64
@uppy/utils: refactor to TS (#4699)
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
Co-authored-by: Nick Rutten <2504906+nickrttn@users.noreply.github.com>
Co-authored-by: Murderlon <merlijn@soverin.net>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2023-11-06 15:01:50 +01:00