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

17 lines (15 loc) 476 B
/// <reference path="../../observable.ts"/> module Rx { export interface Observable<T> { /** * Creates an array from an observable sequence. * @returns {Observable} An observable sequence containing a single element with a list containing all the elements of the source sequence. */ toArray(): Observable<T[]>; } } (function () { var o : Rx.Observable<number>; var t : Rx.Observable<number[]>; t = o.toArray(); });