You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shouldn't the method return an Any type? Because, when you try to access a property of this object, you get a Typescript error: Property 'access_token' does not exist on type 'Object'.
Thank you very much,
Basile
The text was updated successfully, but these errors were encountered:
robwormald
added a commit
to robwormald/angular
that referenced
this issue
Dec 6, 2015
Hello,
Call json() on a Response objet returns a type Object. I think it comes from here: https://github.com/angular/angular/blob/master/modules/angular2/src/facade/lang.ts#L333
Shouldn't the method return an Any type? Because, when you try to access a property of this object, you get a Typescript error:
Property 'access_token' does not exist on type 'Object'
.Thank you very much,
Basile
The text was updated successfully, but these errors were encountered: