Skip to content

Commit d7f8b95

Browse files
committed
Auto-generated commit
1 parent 547bf88 commit d7f8b95

File tree

5 files changed

+21
-7
lines changed

5 files changed

+21
-7
lines changed

.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/array) of the main repository where we’ll review and provide feedback.
44

5-
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.
5+
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
66

77
We look forward to receiving your contribution! :smiley:

CHANGELOG.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-02-21)
7+
## Unreleased (2025-02-25)
88

99
<section class="packages">
1010

@@ -447,6 +447,16 @@ This release closes the following issue:
447447

448448
<!-- /.features -->
449449

450+
<section class="bug-fixes">
451+
452+
##### Bug Fixes
453+
454+
- [`165c7fb`](https://github.com/stdlib-js/stdlib/commit/165c7fb75861f4c1ee28940aadbe44ba4f6e8268) - use the correct TypeScript callback signature and update docs for `array/base/for-each` [(#5448)](https://github.com/stdlib-js/stdlib/pull/5448)
455+
456+
</section>
457+
458+
<!-- /.bug-fixes -->
459+
450460
</details>
451461

452462
</section>
@@ -1116,6 +1126,7 @@ A total of 12 people contributed to this release. Thank you to the following con
11161126

11171127
<details>
11181128

1129+
- [`165c7fb`](https://github.com/stdlib-js/stdlib/commit/165c7fb75861f4c1ee28940aadbe44ba4f6e8268) - **fix:** use the correct TypeScript callback signature and update docs for `array/base/for-each` [(#5448)](https://github.com/stdlib-js/stdlib/pull/5448) _(by Muhammad Haris)_
11191130
- [`01e81a5`](https://github.com/stdlib-js/stdlib/commit/01e81a54c2f1294efe1d199cba7dfc6ac8bb9acf) - **refactor:** update path _(by Athan Reines)_
11201131
- [`072052b`](https://github.com/stdlib-js/stdlib/commit/072052b92dd00f2b36727c6b0364b64ddcc32ecb) - **feat:** add `array/base/for-each` [(#5319)](https://github.com/stdlib-js/stdlib/pull/5319) _(by Muhammad Haris, Athan Reines)_
11211132
- [`3ae3c5f`](https://github.com/stdlib-js/stdlib/commit/3ae3c5f79f267ecc17041b6b10d8c543f5f0686c) - **refactor:** update paths _(by Gururaj Gurram)_

CONTRIBUTORS

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Aadish Jain <[email protected]>
66
Aayush Khanna <[email protected]>
77
Abhijit Raut <[email protected]>
8+
Abhishek Jain <[email protected]>
89
Adarsh Palaskar <[email protected]>
910
Aditya Sapra <[email protected]>
1011
Ahmed Atwa <[email protected]>
@@ -57,6 +58,7 @@ Justin Dennison <[email protected]>
5758
Karan Anand <[email protected]>
5859
Karthik Prakash <[email protected]>
5960
Kohantika Nath <[email protected]>
61+
Krishnam Agarwal <[email protected]>
6062
Krishnendu Das <[email protected]>
6163
Kshitij-Dale <[email protected]>
6264
Lovelin Dhoni J B <[email protected]>
@@ -133,6 +135,7 @@ Yaswanth Kosuru <[email protected]>
133135
Yernar Yergaziyev <[email protected]>
134136
Yuvi Mittal <[email protected]>
135137
ekambains <[email protected]>
138+
fadiothman22 <[email protected]>
136139
olenkabilonizhka <[email protected]>
137140
pranav-1720 <[email protected]>
138141

base/for-each/docs/repl.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
Callback function.
2424

2525
thisArg: any (optional)
26-
Callback function execution context.
26+
Callback execution context.
2727

2828
Examples
2929
--------

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type Unary<T, V> = ( this: V, value: T ) => void;
4040
* @param value - current array element
4141
* @param index - current array element index
4242
*/
43-
type Binary<T, V> = ( this: V, value: T, indices: Array<number> ) => void;
43+
type Binary<T, V> = ( this: V, value: T, index: number ) => void;
4444

4545
/**
4646
* Callback invoked for each array element.
@@ -49,7 +49,7 @@ type Binary<T, V> = ( this: V, value: T, indices: Array<number> ) => void;
4949
* @param index - current array element index
5050
* @param arr - input array
5151
*/
52-
type Ternary<T, U, V> = ( this: V, value: T, indices: Array<number>, arr: U ) => void;
52+
type Ternary<T, U, V> = ( this: V, value: T, index: number, arr: U ) => void;
5353

5454
/**
5555
* Callback invoked for each array element.
@@ -65,7 +65,7 @@ type Callback<T, U, V> = Nullary<V> | Unary<T, V> | Binary<T, V> | Ternary<T, U,
6565
*
6666
* @param x - input array
6767
* @param fcn - callback function
68-
* @param thisArg - callback function execution context
68+
* @param thisArg - callback execution context
6969
*
7070
* @example
7171
* var naryFunction = require( '@stdlib/utils/nary-function' );
@@ -84,7 +84,7 @@ declare function forEach<T = unknown, V = unknown>( x: AccessorArrayLike<T>, fcn
8484
*
8585
* @param x - input array
8686
* @param fcn - callback function
87-
* @param thisArg - callback function execution context
87+
* @param thisArg - callback execution context
8888
*
8989
* @example
9090
* var naryFunction = require( '@stdlib/utils/nary-function' );

0 commit comments

Comments
 (0)