Skip to content

Commit 792f969

Browse files
committed
Auto-generated commit
1 parent fd311cc commit 792f969

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
<details>
2525

26+
- [`3adbe8a`](https://github.com/stdlib-js/stdlib/commit/3adbe8a17ba4a8ac59a6dbb66085ee84cb78d35d) - **docs:** propagate fixes to sibling packages [(#13133)](https://github.com/stdlib-js/stdlib/pull/13133) _(by Philipp Burckhardt)_
2627
- [`e6cc42b`](https://github.com/stdlib-js/stdlib/commit/e6cc42bab0268753252236d0e7511c97443754cc) - **fix:** correct typo in enum name and fix C examples [(#13088)](https://github.com/stdlib-js/stdlib/pull/13088) _(by anee3)_
2728
- [`c68f1d9`](https://github.com/stdlib-js/stdlib/commit/c68f1d9fca11a9040ecc51e1c1d05ffa11da3b61) - **docs:** fix default option value _(by Athan Reines)_
2829
- [`efdecd0`](https://github.com/stdlib-js/stdlib/commit/efdecd0ca3e6e8a31c0dfe5ee18a91b6d64abd73) - **refactor:** use base array utilities _(by Athan Reines)_

‎docs/types/index.d.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interface Options {
3434
mode?: Mode;
3535

3636
/**
37-
* Specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: ['throw']).
37+
* Specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: [options.mode]).
3838
*/
3939
submode?: ArrayLike<Mode>;
4040

@@ -59,7 +59,7 @@ interface Constructor {
5959
* @param order - specifies whether an array is row-major (C-style) or column-major (Fortran-style)
6060
* @param options - function options
6161
* @param options.mode - specifies how to handle indices which exceed array dimensions (default: 'throw')
62-
* @param options.submode - specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: ['throw'])
62+
* @param options.submode - specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: [options.mode])
6363
* @param options.readonly - specifies whether an array should be read-only (default: false)
6464
* @throws `buffer` argument `get` and `set` properties must be functions
6565
* @throws `shape` argument must be an array-like object containing nonnegative integers
@@ -94,7 +94,7 @@ interface Constructor {
9494
* @param order - specifies whether an array is row-major (C-style) or column-major (Fortran-style)
9595
* @param options - function options
9696
* @param options.mode - specifies how to handle indices which exceed array dimensions (default: 'throw')
97-
* @param options.submode - specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: ['throw'])
97+
* @param options.submode - specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: [options.mode])
9898
* @param options.readonly - specifies whether an array should be read-only (default: false)
9999
* @throws `buffer` argument `get` and `set` properties must be functions
100100
* @throws `shape` argument must be an array-like object containing nonnegative integers
@@ -130,7 +130,7 @@ interface Constructor {
130130
* @param order - specifies whether an array is row-major (C-style) or column-major (Fortran-style)
131131
* @param options - function options
132132
* @param options.mode - specifies how to handle indices which exceed array dimensions (default: 'throw')
133-
* @param options.submode - specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: ['throw'])
133+
* @param options.submode - specifies how to handle subscripts which exceed array dimensions on a per dimension basis (default: [options.mode])
134134
* @param options.readonly - specifies whether an array should be read-only (default: false)
135135
* @throws `buffer` argument `get` and `set` properties must be functions
136136
* @throws `shape` argument must be an array-like object containing nonnegative integers

0 commit comments

Comments
 (0)