mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-17 07:43:38 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
48
node_modules/rxjs/observable/PairsObservable.d.ts
generated
vendored
Normal file
48
node_modules/rxjs/observable/PairsObservable.d.ts
generated
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import { IScheduler } from '../Scheduler';
|
||||
import { Observable } from '../Observable';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { TeardownLogic } from '../Subscription';
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @extends {Ignored}
|
||||
* @hide true
|
||||
*/
|
||||
export declare class PairsObservable<T> extends Observable<Array<string | T>> {
|
||||
private obj;
|
||||
private scheduler;
|
||||
private keys;
|
||||
/**
|
||||
* Convert an object into an observable sequence of [key, value] pairs
|
||||
* using an optional IScheduler to enumerate the object.
|
||||
*
|
||||
* @example <caption>Converts a javascript object to an Observable</caption>
|
||||
* var obj = {
|
||||
* foo: 42,
|
||||
* bar: 56,
|
||||
* baz: 78
|
||||
* };
|
||||
*
|
||||
* var source = Rx.Observable.pairs(obj);
|
||||
*
|
||||
* var subscription = source.subscribe(
|
||||
* function (x) {
|
||||
* console.log('Next: %s', x);
|
||||
* },
|
||||
* function (err) {
|
||||
* console.log('Error: %s', err);
|
||||
* },
|
||||
* function () {
|
||||
* console.log('Completed');
|
||||
* });
|
||||
*
|
||||
* @param {Object} obj The object to inspect and turn into an
|
||||
* Observable sequence.
|
||||
* @param {Scheduler} [scheduler] An optional IScheduler to run the
|
||||
* enumeration of the input sequence on.
|
||||
* @returns {(Observable<Array<string | T>>)} An observable sequence of
|
||||
* [key, value] pairs from the object.
|
||||
*/
|
||||
static create<T>(obj: Object, scheduler?: IScheduler): Observable<Array<string | T>>;
|
||||
constructor(obj: Object, scheduler?: IScheduler);
|
||||
/** @deprecated internal use only */ _subscribe(subscriber: Subscriber<Array<string | T>>): TeardownLogic;
|
||||
}
|
||||
Reference in New Issue
Block a user