diff --git a/lib/node_modules/@stdlib/utils/group-in/docs/types/index.d.ts b/lib/node_modules/@stdlib/utils/group-in/docs/types/index.d.ts index 3a622850ddce..2553988d0337 100644 --- a/lib/node_modules/@stdlib/utils/group-in/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/utils/group-in/docs/types/index.d.ts @@ -108,7 +108,8 @@ type Indicator = Nullary | Unary | Binary; * var out = groupIn( obj, indicator ); * // e.g., returns { 'b': [ 'beep', 'boop', 'bar' ], 'f': [ 'foo' ] } */ -declare function groupIn( obj: any, indicator: Indicator ): any; +declare function groupIn(obj: T, indicator: (v: T) => K): { [key: string]: K[] }; + /** * Groups an object's own and inherited property values according to an indicator function. @@ -181,8 +182,7 @@ declare function groupIn( obj: any, indicator: Indicator ): any; * var out = groupIn( obj, opts, indicator ); * // e.g., returns { 'b': [ [ 'a', 'beep' ], [ 'b', 'boop' ], [ 'd', 'bar' ] ], 'f': [ [ 'c', 'foo' ] ] } */ -declare function groupIn( obj: any, options: Options, indicator: Indicator ): any; - +declare function groupIn(obj: T, options: Options, indicator: (v: T) => K): any; // EXPORTS //