From 22a2021fbde211852ca4911936bbda5e9f47a57b Mon Sep 17 00:00:00 2001 From: Nathan Ridley Date: Tue, 1 Apr 2014 13:24:23 +0700 Subject: [PATCH] Fixed incorrect declaration of countBy function --- underscore/underscore.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index 10e4ccb23a..9e44c0c63e 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -499,7 +499,7 @@ interface UnderscoreStatic { countBy( list: _.Collection, iterator?: _.ListIterator, - context?: any): _.Dictionary; + context?: any): _.Dictionary; /** * @see _.countBy @@ -508,7 +508,7 @@ interface UnderscoreStatic { countBy( list: _.Collection, iterator: string, - context?: any): _.Dictionary; + context?: any): _.Dictionary; /** * Returns a shuffled copy of the list, using a version of the Fisher-Yates shuffle. @@ -1612,13 +1612,13 @@ interface Underscore { * Wrapped type `any[]`. * @see _.countBy **/ - countBy(iterator?: _.ListIterator, context?: any): _.Dictionary; + countBy(iterator?: _.ListIterator, context?: any): _.Dictionary; /** * Wrapped type `any[]`. * @see _.countBy **/ - countBy(iterator: string, context?: any): _.Dictionary; + countBy(iterator: string, context?: any): _.Dictionary; /** * Wrapped type `any[]`.