Upgrade angular 4 to 7 @angular/http to @angular/common/http
问题 Currently, I am upgrading my Angular project4 using webpack to Angular7. I stuck in one step Switch from HttpModule and the Http service to HttpClientModule and the HttpClient service. HttpClient simplifies the default ergonomics (You don't need to map to json anymore) and now supports typed return values and interceptors. About this step I need to replace from rom HttpModule and Http to HttpClientModule and HttpClient . Update from Http to HttpClient , are there any script to help like $rxjs