work.suroh.tk/node_modules/rx/ts/rx.sorting.d.ts

23 lines
824 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
declare module Rx {
export interface Observable<T> {
/**
* jortSort checks if your inputs are sorted. Note that this is only for a sequence with an end.
* See http://jort.technology/ for full details.
* @returns {Observable} An observable which has a single value of true if sorted, else false.
*/
jortSort(): Observable<boolean>;
}
export interface Observable<T> {
/**
* jortSort checks if your inputs are sorted until another Observable sequence fires.
* See http://jort.technology/ for full details.
* @returns {Observable} An observable which has a single value of true if sorted, else false.
*/
jortSortUntil<TOther>(other: TOther): Observable<boolean>;
}
}
declare module "rx.sorting" { export = Rx; }