You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -159,6 +160,8 @@ A total of 8 issues were closed in this release:
159
160
160
161
<details>
161
162
163
+
-[`1b9a036`](https://github.com/stdlib-js/stdlib/commit/1b9a036d676b247bf502c4ede08635b99fa611ca) - **fix:** allow correct values for `returns` option _(by Philipp Burckhardt)_
164
+
-[`5feedbc`](https://github.com/stdlib-js/stdlib/commit/5feedbcf7d1de8ab6259c96fa39a2fdc50e2c895) - **docs:** do not pass in options object to avoid cast error _(by Philipp Burckhardt)_
162
165
-[`6bb3c64`](https://github.com/stdlib-js/stdlib/commit/6bb3c64c915bb33715e5256fa8073e46b9a4d443) - **docs:** update examples in TSDoc comments in `utils/async` for doctesting _(by Philipp Burckhardt)_
163
166
-[`18b2372`](https://github.com/stdlib-js/stdlib/commit/18b2372476178bcaa6bd7ddc69396f0e87dc93f2) - **feat:** add missing exports to namespaces _(by Philipp Burckhardt)_
Copy file name to clipboardExpand all lines: group-own/docs/types/index.d.ts
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,9 @@ interface Options {
28
28
thisArg?: any;
29
29
30
30
/**
31
-
* If `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned.
31
+
* If `'values'`, values are returned; if `'keys'`, keys are returned; if `'*'`, both keys and values are returned.
32
32
*/
33
-
returns?: 'values'|'indices'|'*';
33
+
returns?: 'values'|'keys'|'*';
34
34
}
35
35
36
36
/**
@@ -127,7 +127,7 @@ declare function groupOwn<T extends object, K extends string | symbol>(
127
127
* @param obj - input object
128
128
* @param options - function options
129
129
* @param options.thisArg - execution context
130
-
* @param options.returns - if `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned (default: 'values')
130
+
* @param options.returns - if `'values'`, values are returned; if `'keys'`, keys are returned; if `'*'`, both keys and values are returned (default: 'values')
131
131
* @param indicator - indicator function indicating which group an element in the input object belongs to
132
132
* @returns group results
133
133
*
@@ -142,14 +142,14 @@ declare function groupOwn<T extends object, K extends string | symbol>(
@@ -174,7 +174,7 @@ declare function groupOwn<T extends object, K extends string | symbol>(
174
174
* @param obj - input object
175
175
* @param options - function options
176
176
* @param options.thisArg - execution context
177
-
* @param options.returns - if `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned (default: 'values')
177
+
* @param options.returns - if `'values'`, values are returned; if `'keys'`, keys are returned; if `'*'`, both keys and values are returned (default: 'values')
178
178
* @param indicator - indicator function indicating which group an element in the input object belongs to
179
179
* @returns group results
180
180
*
@@ -221,7 +221,7 @@ declare function groupOwn<T extends object, K extends string | symbol>(
221
221
* @param obj - input object
222
222
* @param options - function options
223
223
* @param options.thisArg - execution context
224
-
* @param options.returns - if `'values'`, values are returned; if `'indices'`, indices are returned; if `'*'`, both indices and values are returned (default: 'values')
224
+
* @param options.returns - if `'values'`, values are returned; if `'keys'`, keys are returned; if `'*'`, both keys and values are returned (default: 'values')
225
225
* @param indicator - indicator function indicating which group an element in the input object belongs to
0 commit comments