Picci
Picci

Reputation: 17752

Angular with angular/cli - not able to find rxjs operator mergeDelayError

I am currently happily working with Angular (2.4.0) and angular/cli (1.0.0-rc1), using in many places the RxJs library. The entire installation is pretty standard (i.e. I have not personalized any config file).

Here my package.json

{
  "name": "sharewithfriends",
  "version": "0.0.0",
  "license": "MIT",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "^2.4.0",
    "@angular/compiler": "^2.4.0",
    "@angular/core": "^2.4.0",
    "@angular/forms": "^2.4.0",
    "@angular/http": "^2.4.0",
    "@angular/platform-browser": "^2.4.0",
    "@angular/platform-browser-dynamic": "^2.4.0",
    "@angular/router": "^3.4.0",
    "angularfire2": "^2.0.0-beta.8",
    "core-js": "^2.4.1",
    "firebase": "^3.7.0",
    "rxjs": "^5.1.0",
    "zone.js": "^0.7.6"
  },
  "devDependencies": {
    "@angular/cli": "^1.0.0-rc.1",
    "@angular/compiler-cli": "^2.4.0",
    "@types/jasmine": "2.5.38",
    "@types/node": "~6.0.60",
    "codelyzer": "~2.0.0",
    "jasmine-core": "~2.5.2",
    "jasmine-spec-reporter": "~3.2.0",
    "karma": "~1.4.1",
    "karma-chrome-launcher": "~2.0.0",
    "karma-cli": "~1.0.1",
    "karma-coverage-istanbul-reporter": "^0.2.0",
    "karma-jasmine": "~1.1.0",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.1.0",
    "ts-node": "~2.0.0",
    "tslint": "~4.4.2",
    "typescript": "~2.0.0"
  }
}

Now I have a point where I would like to use the mergeDelayError operator of Observable. Unfortunately the intellisense of VSCode can not find such operator.

Any suggestion about what I am doing wrong?

Upvotes: 2

Views: 449

Answers (2)

Aravind
Aravind

Reputation: 41533

The source code of RxJs found in this link here. Does not contain the mergeDelayError operator

So you will not get intellisense

Upvotes: 0

Olaf Horstmann
Olaf Horstmann

Reputation: 16882

There is no such operator mergeDelayError in RxJS5 (which is the RxJS-Version used in Angular 2+)

It was implemented in RxJS4 though and is currently not mentioned on the migrations-page - if you wish to use this in RxJS5 you should open a feature-request on the github-page or port it yourself and create a pull-request.

Upvotes: 2

Related Questions