1 | import { IterableX } from '../../iterable/iterablex';
|
2 | import { OrderedIterableX } from '../../iterable/orderby';
|
3 | import { thenBy as _thenBy, thenByDescending as _thenByDescending } from '../../iterable/orderby';
|
4 |
|
5 |
|
6 |
|
7 | export declare function orderByProto<TKey, TSource>(this: IterableX<TSource>, keySelector: (item: TSource) => TKey, comparer?: (fst: TKey, snd: TKey) => number): OrderedIterableX<TKey, TSource>;
|
8 |
|
9 |
|
10 |
|
11 | export declare function orderByDescendingProto<TKey, TSource>(this: IterableX<TSource>, keySelector: (item: TSource) => TKey, comparer?: (fst: TKey, snd: TKey) => number): OrderedIterableX<TKey, TSource>;
|
12 | export declare namespace iterable {
|
13 | let thenBy: typeof _thenBy;
|
14 | let thenByDescending: typeof _thenByDescending;
|
15 | }
|
16 | declare module '../../iterable/iterablex' {
|
17 | interface IterableX<T> {
|
18 | orderBy: typeof orderByProto;
|
19 | orderByDescending: typeof orderByDescendingProto;
|
20 | }
|
21 | }
|