angular2-interceptors icon indicating copy to clipboard operation
angular2-interceptors copied to clipboard

Support Angular 4

Open nghiado opened this issue 7 years ago • 2 comments

We need to upgrade to Angular 4.x and this is the only package that doesn't support Angular 4 in our project. Can you help to unblock our upgrade by supporting Angular 4?

nghiado avatar Apr 20 '17 21:04 nghiado

+1

tiagoaquino avatar Apr 24 '17 17:04 tiagoaquino

The library seams to work fine with Angular 4, but the peerDepencenies are not compatible. It should be enough to do the following change in the package.json:

 "peerDependencies": {
    "@angular/core": "'^2.4.0 || ^4.0.0",
    "@angular/http": "^2.4.0 || ^4.0.0",
    "rxjs": "^5.0.0"
  },

scic avatar May 31 '17 13:05 scic