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 Nov 22, 2023
1 parent 686025d commit 9c393d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/map2d/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type Unary<T, U, V> = ( this: V, value: T ) => U;
* @param indices - current array element indices
* @returns result
*/
type Binary<T, U, V> = ( this: V, value: T, indices: [ number, number ] ) => U;
type Binary<T, U, V> = ( this: V, value: T, indices: Array<number> ) => U;

/**
* Callback invoked for each array element.
Expand All @@ -54,7 +54,7 @@ type Binary<T, U, V> = ( this: V, value: T, indices: [ number, number ] ) => U;
* @param indices - current array element indices
* @returns result
*/
type Ternary<T, U, V> = ( this: V, value: T, indices: [ number, number ], array: Array2D<T> ) => U;
type Ternary<T, U, V> = ( this: V, value: T, indices: Array<number>, array: Array2D<T> ) => U;

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

0 comments on commit 9c393d8

Please sign in to comment.