Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用Typescript 2.4.1版本编译时rxjs报错 #63

Closed
baxtergu opened this issue Jun 28, 2017 · 1 comment · Fixed by #64
Closed

使用Typescript 2.4.1版本编译时rxjs报错 #63

baxtergu opened this issue Jun 28, 2017 · 1 comment · Fixed by #64

Comments

@baxtergu
Copy link

baxtergu commented Jun 28, 2017

报错信息如下:
image
该错误是rxjs在高版本typescript下的bug,rxjs/#issue2539
解决方案有2个:

  • 使用rxjs v6 alpha版本
  • 修改node_modules/rxjs/Subject.d.ts文件的第24行的Observable<T>为Observable<any>临时解决
    image
    image
    不知道是不是通用问题,我在使用的时候遇到了,在这里分享一下解决方法,希望能有所帮助。 : )
@rdkmaster
Copy link
Owner

现在master分支上的ts版本是2.4但是我们打算暂时回退到2.3.4,因为ts2.4和webstorm有个冲突。。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants