I\'m playing with Angular2 and TypeScript and it\'s not going well (this would be so easy in AngularJS). I\'m writing a little experiment app to get to grips with it all and
Here you declare data as type Response
data
Response
(data: Response) => { // <== data = JSON.parse(data['_body']);
and here you assign from a variable of type Response to a variable of type UserStatus
UserStatus
this.userStatus = data;
thus the error.
To avoid that just do
this.userStatus = JSON.parse(data['_body']);