Skip to content

Commit

Permalink
underscore _.findIndex now returns the correct type (number instead o…
Browse files Browse the repository at this point in the history
…f the element type)
  • Loading branch information
Kjartan Ferstl committed Mar 30, 2015
1 parent f8f1b95 commit f6a35d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion underscore/underscore.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ interface UnderscoreStatic {
findIndex<T>(
list: _.List<T>,
iterator: _.ListIterator<T, boolean>,
context?: any): T;
context?: any): number;


/**
Expand Down

0 comments on commit f6a35d9

Please sign in to comment.