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
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
First of all, thank you for updating and supporting quickly to use this library for angular4.
I've fully replaced @angular/http with @angular/common/http(HttpClientModule), removed @angular/http from my project.
But In-memory-web-api still requires @angular/http, I took a look inside of in-memory-web-api.d.ts and found import { XHRBackend } from '@angular/http';
Of course you allow users to user either HttpClientModule or Http but users do not want to keep Http in a project (in the future as well, it is already deprecated in angular5.beta.6 https://github.com/angular/angular/blob/master/CHANGELOG.md).
I reckon import { XHRBackend } from '@angular/http'; should only be applied when users use @angular/http only.