Skip to content

Commit 6074548

Browse files
committed
docs(result): tapEither param
1 parent 0c864ea commit 6074548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/result.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ export class Result<TValue = Unit, TError = string> {
853853

854854
/**
855855
* Executes the action on both success and failure.
856-
* @param action a function
856+
* @param action a function with no parameters returning no value
857857
* @returns the current Result
858858
*/
859859
tapEither(action: Action): Result<TValue, TError> {

0 commit comments

Comments
 (0)