Skip to content

Type 'Response' is not assignable to type 'any[]'.#51

Open
BretMishler wants to merge 1 commit into
tochoromero:masterfrom
BretMishler:patch-1
Open

Type 'Response' is not assignable to type 'any[]'.#51
BretMishler wants to merge 1 commit into
tochoromero:masterfrom
BretMishler:patch-1

Conversation

@BretMishler

@BretMishler BretMishler commented Oct 19, 2017

Copy link
Copy Markdown

There needs to be an explicit type conversion for this to work. At least for me, when I attempt to use the original code of:

.then(users => this.users = users);

I get several errors and the page won't load.

There needs to be an explicit type conversion for this to work. At least for me, when I attempt to use the original code of:

 .then(users => this.users = users);

I get several errors and the page won't load.
@tochoromero

Copy link
Copy Markdown
Owner

It seems you are using Typescript whereas the documentation is not

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

Successfully merging this pull request may close these issues.

2 participants