mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix "ThenBy" and "ThenByDescending" in linq.d.ts
Fixes #6699 I changed the interface "OrderedEnumerable<T>". The methods "ThenBy" and "ThenByDescending" now have the keySelector: ($: T) => any
This commit is contained in:
Vendored
+2
-2
@@ -205,9 +205,9 @@ declare module linq {
|
||||
}
|
||||
|
||||
interface OrderedEnumerable<T> extends Enumerable<T> {
|
||||
ThenBy(keySelector: ($) => T): OrderedEnumerable<T>;
|
||||
ThenBy(keySelector: ($: T) => any): OrderedEnumerable<T>;
|
||||
ThenBy(keySelector: string): OrderedEnumerable<T>;
|
||||
ThenByDescending(keySelector: ($) => T): OrderedEnumerable<T>;
|
||||
ThenByDescending(keySelector: ($: T) => any): OrderedEnumerable<T>;
|
||||
ThenByDescending(keySelector: string): OrderedEnumerable<T>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user