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

java - unable show chart in xls document using jasper reports -

javascript - How to change image src on success AJAX -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -