-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
Initial checklist
- I understand this is a bug report and questions should be posted in the Community Forum
- I searched issues and couldn’t find anything (or linked relevant results below)
Link to runnable example
No response
Steps to reproduce
Use @uppy/transloadit v5.1.1 with Typescript
Expected behavior
We should not have to install "transloadit" manually
Actual behavior
Following this MR, we need to add Transloadit as a dependency to our project, otherwise AssemblyResponse (which is a Transloadit AssemblyStatus) is not found and its we get a bunch of any's.
const assembly: AssemblyResponse = assemblyResponse;
// These would be any
const results = assembly.results ?? {};
const originals = results[':original'] ?? [];