javascript - Importing Rx.Disposable in Typescript -


how correctly import disposable in ts file:

import { disposable } 'rxjs' import { disposable } 'rxjs/rx' import * rx 'rxjs'  

then

rx.disposable() or disposable.create() etc... 

none of these options works. end error such as:

rx has no exported member 'disposable' 

i have used typings such:

typings install dt~rx --global 

ah.. semi correct in syntax disposable has been renamed subscription in beta 5


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -