Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument of type 'Object[]' is not assignable to parameter of type '(string | ArrayBuffer | Blob | ArrayBufferView)[]'. #3

Open
vanishtachangea opened this issue Mar 12, 2019 · 1 comment

Comments

@vanishtachangea
Copy link

I am using the rest.service.ts. in my own project and I'm getting the following error:
Argument of type 'Object[]' is not assignable to parameter of type '(string | ArrayBuffer | Blob | ArrayBufferView)[]'.

I get it on the line :
const file = new File([cardData], 'myCard.card', {type: 'application/octet-stream', lastModified: Date.now()});

Do you know how to fix this?
BlobIssue

Thanks.

@vanishtachangea
Copy link
Author

As a temporary solution, I have used any with the variable cardData
carddata

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant