mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-05 16:10:11 +08:00
underscore _.findIndex now returns the correct type (number instead of the element type)
This commit is contained in:
Vendored
+1
-1
@@ -278,7 +278,7 @@ interface UnderscoreStatic {
|
||||
findIndex<T>(
|
||||
list: _.List<T>,
|
||||
iterator: _.ListIterator<T, boolean>,
|
||||
context?: any): T;
|
||||
context?: any): number;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user