I think now you need to import the operators separately. If you look inside
node_modules/rxjs/add/operator/mergeMap
you should see mergeMap.d.ts . Content of which
declare module '../../Observable' { interface Observable<T> { flatMap: MergeMapSignature<T>; mergeMap: MergeMapSignature<T>; } }
Thus, the mergeMap module declares both flatMap and mergeMap . So you can just import this file
import 'rxjs/add/operator/mergeMap`;
If you are concerned about the style (i.e. you need to import it into all the files you need), you can check out the plunker example from the Angular tutorial , where they import all the application statements into a file and simply import this file into the app.component file. It needs to be imported in only one place. In my experience, when unit testing, when AppComponent is not involved, I had to import this file into each of the test files.
source share