fix comment regarding tryCatch signature

This commit is contained in:
Xavier 2020-12-02 16:47:48 +01:00
parent 7500ab98a0
commit 24888d84f8
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export const asyncDivide = async (a: number, b: number) => {
//
// HINT: TaskEither has a special constructor to transform a Promise<T> into
// a TaskEither<Error, T>:
// - `TaskEither.tryCatch(onReject: err => leftValue, onResolve: val => rightValue)(promise)`
// - `TaskEither.tryCatch(f: () => promise, onReject: reason => leftValue)`
export const asyncSafeDivideWithError: (
a: number,