diff --git a/README.md b/README.md index 0ed09979..cfe6b7be 100644 --- a/README.md +++ b/README.md @@ -675,7 +675,7 @@ const resAsync = parseUserInput(userInput) .andThrough(validateUser) .asyncAndThen(insertUser) -resAsync.then((res: Result) => { +resAsync.then((res: Result) => { if(res.isErr()){ console.log("Oops, at least one step failed", res.error) }