From b434c063779e38058cc2cf26ec9ec987ba429c43 Mon Sep 17 00:00:00 2001 From: STARSCrazy Date: Wed, 11 Nov 2015 12:49:41 +0100 Subject: [PATCH] Fix "ThenBy" and "ThenByDescending" in linq.d.ts Fixes #6699 I changed the interface "OrderedEnumerable". The methods "ThenBy" and "ThenByDescending" now have the keySelector: ($: T) => any --- linq/linq.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linq/linq.d.ts b/linq/linq.d.ts index c15bc895e4..11bf36df92 100644 --- a/linq/linq.d.ts +++ b/linq/linq.d.ts @@ -205,9 +205,9 @@ declare module linq { } interface OrderedEnumerable extends Enumerable { - ThenBy(keySelector: ($) => T): OrderedEnumerable; + ThenBy(keySelector: ($: T) => any): OrderedEnumerable; ThenBy(keySelector: string): OrderedEnumerable; - ThenByDescending(keySelector: ($) => T): OrderedEnumerable; + ThenByDescending(keySelector: ($: T) => any): OrderedEnumerable; ThenByDescending(keySelector: string): OrderedEnumerable; }