Skip to content

Commit cbdc02b

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

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ declare function groupBy<T = unknown>( collection: Collection<T>, options: Indic
222222
* var out = groupBy( arr, opts, indicator );
223223
* // returns { 'b': [ 'beep', 'boop', 'bar' ], 'f': [ 'foo' ] }
224224
*/
225-
declare function groupBy<T = unknown>( collection: Collection<T>, options: ValuesOptions<T>, indicator: Indicator<T> ): ValuesResults<T>;
225+
declare function groupBy<T = unknown>( collection: Collection<T>, options: ValuesOptions<T> | BaseOptions<T>, indicator: Indicator<T> ): ValuesResults<T>;
226226

227227
/**
228228
* Groups values according to an indicator function.

0 commit comments

Comments
 (0)