UNPKG

385 BMarkdownView Raw
1# RxJS Compatibility Package
2
3This package is required to get backwards compatibility with RxJS previous to version 6. It contains the imports to add operators to `Observable.prototype` and creation methods to `Observable`. This is what allows, for instance, dot-chaining:
4
5```
6Observable.interval(1)
7 .map(i => i * i)
8```
9
10vs
11
12```
13Observable.interval(1)
14 .pipe(map(i => i * i))
15```