I am working on an Angular app in which I am making a rest call through HTTP as below:
login(email, password) { let headers = new Headers(); headers.a
with rxjs 6
import { throwError } from 'rxjs'; throwError('hello');