Skip to content

Commit 29bce60

Browse files
committed
fix: add missing support for omitting a returns option
1 parent cbdc02b commit 29bce60

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/utils/bifurcate-by/docs/types

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/utils/bifurcate-by/docs/types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ declare function bifurcateBy<T = unknown>( collection: Collection<T>, options: I
192192
* var out = bifurcateBy( arr, opts, predicate );
193193
* // returns [ [ 'beep', 'boop', 'bar' ], [ 'foo' ] ]
194194
*/
195-
declare function bifurcateBy<T = unknown>( collection: Collection<T>, options: ValuesOptions<T>, predicate: Predicate<T> ): [ Array<T>, Array<T> ];
195+
declare function bifurcateBy<T = unknown>( collection: Collection<T>, options: ValuesOptions<T> | BaseOptions<T>, predicate: Predicate<T> ): [ Array<T>, Array<T> ];
196196

197197
/**
198198
* Splits values into two groups according to a predicate function.

0 commit comments

Comments
 (0)