UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

12 lines (10 loc) 280 B
/// <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(() => {})); });