问题:
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