Skip to content

Commit 0d803d2

Browse files
committed
Fix API signature
1 parent b2a352a commit 0d803d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Yields:
5050

5151
## API
5252

53-
### `Index([tree[, filter]], prop|keyFn)`
53+
### `Index([tree, [filter, ]]prop|keyFn)`
5454

5555
Create an index data structure that maps keys (calculated by `keyFn` function
5656
or the values at `prop` in each node) to a list of nodes.

0 commit comments

Comments
 (0)