title: Angular 6, rxjs 6 forkJoin an map
body: <p>This codesnipped worked as expected in Angular 4:</p>
  
  <pre><code>Observable.forkJoin(
    Observable.of('test1'),
    Observable.of('test2')
  ).map(result =&gt; {
    console.log(result);
  }).subscribe();
  </code></pre>
  
  <p>This snipped here does not work anymore with rxjs 6:</p>
  
  <pre><code>forkJoin(
    of('test1'),
    of('test2')
  ).pipe(map(result =&gt; {
    console.log(result);
  })).subscribe();
  </code></pre>
  
  <p>I get the following compile error:</p>
  
  <pre><code>ERROR in app/services/bundles/karaf-bundles.service.ts(47,12): error TS2345: Argument of type 'OperatorFunction&lt;[string, string], void&gt;' is not assignable to parameter of type 'OperatorFunction&lt;any, any&gt;'.
    Types of parameters 'source' and 'source' are incompatible.
      Type 'Observable&lt;any&gt;' is not assignable to type 'Observable&lt;[string, string]&gt;'.
        Types of property 'source' are incompatible.
          Type 'import("/Users/moritzvieli/node_modules/rxjs/internal/Observable").Observable&lt;any&gt;' is not assignable to type 'import("/Users/moritzvieli/repo/cltmgmtconsole/web/node_modules/rxjs/internal/Observable").Observ...'.
            Types of property 'source' are incompatible.
              Type 'import("/Users/moritzvieli/node_modules/rxjs/internal/Observable").Observable&lt;any&gt;' is not assignable to type 'import("/Users/moritzvieli/repo/cltmgmtconsole/web/node_modules/rxjs/internal/Observable").Observ...'.
  </code></pre>
  
  <p>How can i map a forkjoin in Angular 6?</p>