Skip to content

Commit 51316d7

Browse files
committed
Auto-generated commit
1 parent 4e6009c commit 51316d7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@
264264

265265
##### Bug Fixes
266266

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

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

816817
<details>
817818

819+
- [`4e6b2eb`](https://github.com/stdlib-js/stdlib/commit/4e6b2eb39e01d193302cd93ebf93dd2f42c71291) - **fix:** update type for indices _(by Athan Reines)_
818820
- [`c57d1d8`](https://github.com/stdlib-js/stdlib/commit/c57d1d880a32cfaff0c57744c81ef641640cddef) - **fix:** return subscripts from perspective of ndarray view, not buffer _(by Athan Reines)_
819821
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
820822
- [`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)_

base/for-each/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ type Unary<T, U> = ( this: U, value: T ) => void;
4242
* @param value - current array element
4343
* @param indices - current array element indices
4444
*/
45-
type Binary<T, U> = ( this: U, value: T, indices: number ) => void;
45+
type Binary<T, U> = ( this: U, value: T, indices: Array<number> ) => void;
4646

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

5656
/**
5757
* Callback invoked for each ndarray element.

0 commit comments

Comments
 (0)