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

1 comment on commit 16bb447

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
array/base/cusome-by-right $\color{green}313/313$
$\color{green}+100.00\%$
$\color{green}18/18$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}313/313$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.