問題:
I am having issue with importing Observable.of
function in my project. 我在我的項目中導入Observable.of
函數時遇到問題。 My Intellij sees everything. 我的Intellij看到了一切。 In my code I have: 在我的代碼中,我有:
import {Observable} from 'rxjs/Observable';
and in my code I use it like that: 在我的代碼中我使用它:
return Observable.of(res);
Any ideas? 有任何想法嗎?
解決方案:
參考一: https://en.stackoom.com/question/2TR6i參考二: https://stackoom.com/question/2TR6i