Error rxjs_Observable__.Observable.forkJoin is not a function?

后端 未结 4 521
情深已故
情深已故 2021-02-05 10:25

I am using Rxjs in an angualr-cli application.

in viewer.component.ts

    //Other Imports
    import { Observable } from \'rxj         


        
4条回答
  •  走了就别回头了
    2021-02-05 10:56

    For RxJS v6.5+, it is now:

    import { forkJoin } from 'rxjs';

    https://www.learnrxjs.io/operators/combination/forkjoin.html

提交回复
热议问题