Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

TS-Error: wrong argument types in filesystem api #299

Description

@Gimleux

handleMultipleApiActions(files, apiCall, ApiActionType.UPLOAD)

src/background/api/filesystem.ts:115:30 - error TS2345: Argument of type 'File[] | EditableFileWithPreflightInfo[]' is not assignable to parameter of type 'File[]'.
  Type 'EditableFileWithPreflightInfo[]' is not assignable to type 'File[]'.
    Type 'EditableFileWithPreflightInfo' is not assignable to type 'File'.

115     handleMultipleApiActions(files, apiCall, ApiActionType.UPLOAD)
                                 ~~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions