From 85f18d8f7ecb50939577aab45e47afdee4bb7eb2 Mon Sep 17 00:00:00 2001 From: dcrusader Date: Wed, 7 Jan 2015 09:23:24 -0800 Subject: [PATCH] GroupBy should return a _ChainOfArrays --- underscore/underscore.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index 4434f633c5..42ba56164b 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -2630,13 +2630,13 @@ interface _Chain { * Wrapped type `any[]`. * @see _.groupBy **/ - groupBy(iterator?: _.ListIterator, context?: any): _Chain; + groupBy(iterator?: _.ListIterator, context?: any): _ChainOfArrays; /** * Wrapped type `any[]`. * @see _.groupBy **/ - groupBy(iterator: string, context?: any): _Chain; + groupBy(iterator: string, context?: any): _ChainOfArrays; /** * Wrapped type `any[]`.