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

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

Open
Gimleux opened this issue Feb 20, 2022 · 0 comments
Open

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

Gimleux opened this issue Feb 20, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Gimleux
Copy link
Member

Gimleux commented Feb 20, 2022

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)
                                 ~~~~~
@Gimleux Gimleux added the bug Something isn't working label Feb 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants