From f6a35d9ac841fa5b3425d89f81ad9c83dbdbc002 Mon Sep 17 00:00:00 2001 From: Kjartan Ferstl Date: Mon, 30 Mar 2015 13:10:14 +0200 Subject: [PATCH] underscore _.findIndex now returns the correct type (number instead of the element type) --- underscore/underscore.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index 9f49bc47a..7ff9aa5eb 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -278,7 +278,7 @@ interface UnderscoreStatic { findIndex( list: _.List, iterator: _.ListIterator, - context?: any): T; + context?: any): number; /**