diff --git a/README.md b/README.md index cfe6b7be..d8d5dc4c 100644 --- a/README.md +++ b/README.md @@ -246,7 +246,7 @@ const linesResult = getLines('1\n2\n3\n4\n') // this Result now has a Array inside it const newResult = linesResult.map( - (arr: Array) => arr.map(parseInt) + (arr: Array) => arr.map((s) => parseInt(s)) ) newResult.isOk() // true