summaryrefslogtreecommitdiff
path: root/src/types/talerTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-06-03 16:46:25 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-06-03 16:46:25 +0530
commit83af702f1cae043902e23e9358c3e036ddca8d33 (patch)
tree3b27fa06fd890406224a0cc4e074d9bd9457230d /src/types/talerTypes.ts
parent77c61e738181561979da64a480fe21f70f6fe1f4 (diff)
downloadwallet-core-83af702f1cae043902e23e9358c3e036ddca8d33.tar.gz
wallet-core-83af702f1cae043902e23e9358c3e036ddca8d33.tar.bz2
wallet-core-83af702f1cae043902e23e9358c3e036ddca8d33.zip
re-indent with latest version of prettier
Diffstat (limited to 'src/types/talerTypes.ts')
-rw-r--r--src/types/talerTypes.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/types/talerTypes.ts b/src/types/talerTypes.ts
index eb10d6e1f..0221d26bb 100644
--- a/src/types/talerTypes.ts
+++ b/src/types/talerTypes.ts
@@ -869,9 +869,8 @@ export const codecForTax = (): Codec<Tax> =>
.property("tax", codecForString)
.build("Tax");
-
export const codecForI18n = (): Codec<{ [lang_tag: string]: string }> =>
- makeCodecForMap(codecForString)
+ makeCodecForMap(codecForString);
export const codecForProduct = (): Codec<Product> =>
makeCodecForObject<Product>()
@@ -908,7 +907,10 @@ export const codecForContractTerms = (): Codec<ContractTerms> =>
.property("merchant", codecForMerchantInfo())
.property("merchant_pub", codecForString)
.property("exchanges", makeCodecForList(codecForExchangeHandle()))
- .property("products", makeCodecOptional(makeCodecForList(codecForProduct())))
+ .property(
+ "products",
+ makeCodecOptional(makeCodecForList(codecForProduct())),
+ )
.property("extra", codecForAny)
.build("ContractTerms");