biofriction-wp-theme/node_modules/rx/ts/core/observer.ts

12 lines
280 B
TypeScript

/// <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(() => {}));
});