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
Post a Comment