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

22 lines (17 loc) 554 B
/// <reference path="../observer-lite.ts" /> /// <reference path="./recorded.ts" /> /// <reference path="../concurrency/scheduler.ts" /> module Rx { export interface MockObserver<T> extends Observer<T> { messages: Recorded[]; } interface MockObserverStatic extends ObserverStatic { new <T>(scheduler: IScheduler): MockObserver<T>; } export var MockObserver: MockObserverStatic; } (function() { var o : Rx.MockObserver<string>; var r: Rx.Recorded[] = o.messages; var oo : Rx.IObserver<string> = o; });