findIndex
has wrong type definitions
#36
Labels
bug
Something isn't working
good first issue
Good for newcomers
pr welcome
We rely on a community contribution to improve this.
spring cleaning
Could be cleaned up one day
Describe the Bug
In the type definitions,
findIndex
is supposed to return number. However, it returnsstring
if an object is passed.https://github.com/bpmn-io/min-dash/blob/main/lib/collection.js#L97
Steps to Reproduce
Expected Behavior
Environment
The text was updated successfully, but these errors were encountered: