Skip to content

Missing Transloadit types #6000

@dubiot-bourque

Description

@dubiot-bourque

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'] ?? [];

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions