diff --git a/lib/node_modules/@stdlib/utils/group/docs/types/index.d.ts b/lib/node_modules/@stdlib/utils/group/docs/types/index.d.ts index 0009b6a58389..1489f85c5e49 100644 --- a/lib/node_modules/@stdlib/utils/group/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/utils/group/docs/types/index.d.ts @@ -51,7 +51,10 @@ interface Options { * var out = group( arr, groups ); * // returns { 'b': [ 'beep', 'boop', 'bar' ], 'f': [ 'foo' ] } */ -declare function group( collection: Collection, groups: Collection ): any; +declare function group( + collection: Collection, + groups: Collection +): { [key in K]: Collection }; /** * Groups values as arrays associated with distinct keys. @@ -89,7 +92,11 @@ declare function group( collection: Collection, groups: Collection ): any; * var out = group( arr, opts, groups ); * // returns { 'b': [ [ 0, 'beep' ], [ 1, 'boop' ], [ 3, 'bar' ] ], 'f': [ [ 2, 'foo' ] ] } */ -declare function group( collection: Collection, options: Options, groups: Collection ): any; +declare function group( + collection: Collection, + options: Options, + groups: Collection +): { [key in K]: Collection }; // EXPORTS //