Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Jul 31, 2024
1 parent 4e6009c commit 51316d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@

##### Bug Fixes

- [`4e6b2eb`](https://github.com/stdlib-js/stdlib/commit/4e6b2eb39e01d193302cd93ebf93dd2f42c71291) - update type for indices
- [`c57d1d8`](https://github.com/stdlib-js/stdlib/commit/c57d1d880a32cfaff0c57744c81ef641640cddef) - return subscripts from perspective of ndarray view, not buffer

</section>
Expand Down Expand Up @@ -815,6 +816,7 @@ A total of 4 people contributed to this release. Thank you to the following cont

<details>

- [`4e6b2eb`](https://github.com/stdlib-js/stdlib/commit/4e6b2eb39e01d193302cd93ebf93dd2f42c71291) - **fix:** update type for indices _(by Athan Reines)_
- [`c57d1d8`](https://github.com/stdlib-js/stdlib/commit/c57d1d880a32cfaff0c57744c81ef641640cddef) - **fix:** return subscripts from perspective of ndarray view, not buffer _(by Athan Reines)_
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
- [`6e4b9eb`](https://github.com/stdlib-js/stdlib/commit/6e4b9ebc31d9629446019e37e31bfe9b180b675c) - **feat:** update namespace TypeScript declarations [(#2681)](https://github.com/stdlib-js/stdlib/pull/2681) _(by stdlib-bot, Philipp Burckhardt)_
Expand Down
4 changes: 2 additions & 2 deletions base/for-each/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type Unary<T, U> = ( this: U, value: T ) => void;
* @param value - current array element
* @param indices - current array element indices
*/
type Binary<T, U> = ( this: U, value: T, indices: number ) => void;
type Binary<T, U> = ( this: U, value: T, indices: Array<number> ) => void;

/**
* Callback invoked for each ndarray element.
Expand All @@ -51,7 +51,7 @@ type Binary<T, U> = ( this: U, value: T, indices: number ) => void;
* @param indices - current array element indices
* @param arr - input array
*/
type Ternary<T, U> = ( this: U, value: T, indices: number, arr: typedndarray<T> ) => void;
type Ternary<T, U> = ( this: U, value: T, indices: Array<number>, arr: typedndarray<T> ) => void;

/**
* Callback invoked for each ndarray element.
Expand Down

0 comments on commit 51316d7

Please sign in to comment.