From 080bbec54446548b96a8bb27b1b84bcee23fc0c8 Mon Sep 17 00:00:00 2001 From: Alexandre Behaghel Date: Wed, 20 Apr 2022 13:32:52 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20Fix=20typo=20in=20Readme?= =?UTF-8?q?=20(#26)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36d49c7..b22ed48 100644 --- a/README.md +++ b/README.md @@ -114,10 +114,10 @@ export const convertDollarAmountInCountryCurrency = (amountInDollar: number) => either.map(convertDollarAmountToCountryCodeCurrency(amountInDollar)), ); -const convertDollarAmountInCountryCodeCurrency = +const convertDollarAmountToCountryCodeCurrency = (amountInDollar: number) => (countryCode: CountryCode) => pipe( - getCurrencyFromCountryCode(countryCode), + getCountryCurrency(countryCode), option.map(convertFromDollarAmount(amountInDollar)), option.map(convertedAmount => console.log(