jfreire jfreire - 15 days ago 5
TypeScript Question

Property 'update' does not exist on type 'Http'

I used Angular 2 Release and using Http from '@angular/http'.

When I call de method update, generate this error: "Property 'update' does not exist on type 'Http'".

On method Get and Post, Work fine.

Thanks, for help me.

Answer

It sounds like you should use http.put() instead.