Rx.Observable.range is missing in Typescript

纵饮孤独 提交于 2019-12-24 07:25:11

问题


I am trying to use RxJS with Typescript and downloaded everything what I need.
Then I wanted to test if the code works:

As you can see Rx.Observable.range the range method is marked as red.

I look into the Observable.ts and search for range method, it does not find.

But it exists under the folder observable a range.ts file.
What am I doing wrong?

来源:https://stackoverflow.com/questions/38889155/rx-observable-range-is-missing-in-typescript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!