mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
underscore _.findIndex now returns the correct type (number instead of the element type)
This commit is contained in:
parent
f8f1b95d00
commit
f6a35d9ac8
2
underscore/underscore.d.ts
vendored
2
underscore/underscore.d.ts
vendored
@ -278,7 +278,7 @@ interface UnderscoreStatic {
|
||||
findIndex<T>(
|
||||
list: _.List<T>,
|
||||
iterator: _.ListIterator<T, boolean>,
|
||||
context?: any): T;
|
||||
context?: any): number;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user