Opal-Estate-Pro/node_modules/rx/ts/core/observer.ts
2019-09-13 11:27:52 +07:00

12 lines
280 B
TypeScript
Executable File

/// <reference path="./disposables/disposable.ts" />
module Rx {
export interface Observer<T> {
makeSafe(disposable: IDisposable): Observer<T>;
}
}
(function() {
var observer: Rx.Observer<boolean>;
observer = observer.makeSafe(Rx.Disposable.create(() => {}));
});