mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +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:
1 parent
0fd13ee0d5
commit
b434c06377
1 file changed
+2
-2
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