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

16 lines (14 loc) 612 B
/// <reference path="../disposables/disposable.ts" /> /// <reference path="../observable.ts" /> module Rx { export module internals { export var inherits: (child: any, parent: any) => void; export var addProperties: (obj: any, ...sources: any[]) => void; export var addRef: <T>(xs: Observable<T>, r: { getDisposable(): IDisposable; }) => Observable<T>; } } (function() { Rx.internals.inherits(null, null); Rx.internals.addProperties({}, 1, 2, 3); var o: Rx.Observable<number> = Rx.internals.addRef(<Rx.Observable<number>>{}, new Rx.SingleAssignmentDisposable()); });