Skip to content
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

@Gimleux

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)
                                 ~~~~~

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