Observable.of is not a function

后端 未结 19 682
旧时难觅i
旧时难觅i 2020-11-30 19:41

I am having issue with importing Observable.of function in my project. My Intellij sees everything. In my code I have:

import {Observable} from          


        
19条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 20:33

    In rxjs v6, of operator should be imported as import { of } from 'rxjs';

提交回复
热议问题