@@ -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