Skip to content

Commit

Permalink
fix: update TypeScript function signature and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Sep 17, 2024
1 parent 0bb460f commit 16bb447
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ interface CusomeByRight {
* Cumulatively tests whether no array element in a provided array passes a test implemented by a predicate function, while iterating from right-to-left, and assigns the results to the provided output array.
*
* @param x - input array
* @param n - number of elements
* @param out - output array
* @param stride - output array stride
* @param offset - output array offset
Expand All @@ -159,7 +160,7 @@ interface CusomeByRight {
* var arr = cunoneBy.cunoneByRight( x, y, 2, 0, isPositive );,
* // returns [ true, null, false, null, false, null, false, null, false, null ]
*/
assign<T = unknown, U = unknown, V = unknown>( x: Collection<T> | AccessorArrayLike<T>, out: Collection<U> | AccessorArrayLike<U>, stride: number, offset: number, predicate: Predicate<T, V>, thisArg?: ThisParameterType<Predicate<T, V>> ): Collection<U | boolean> | AccessorArrayLike<U | boolean>;
assign<T = unknown, U = unknown, V = unknown>( x: Collection<T> | AccessorArrayLike<T>, n: number, out: Collection<U> | AccessorArrayLike<U>, stride: number, offset: number, predicate: Predicate<T, V>, thisArg?: ThisParameterType<Predicate<T, V>> ): Collection<U | boolean> | AccessorArrayLike<U | boolean>;
}

/**
Expand Down

0 comments on commit 16bb447

Please sign in to comment.