mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-21 11:51:47 +08:00
underscore _.findIndex now returns the correct type (number instead of the element type)
This commit is contained in:
1 parent
f8f1b95d00
commit
f6a35d9ac8
1 file changed
+1
-1
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