aboutsummaryrefslogtreecommitdiff
path: root/src/types
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
parent77c61e738181561979da64a480fe21f70f6fe1f4 (diff)
downloadwallet-core-83af702f1cae043902e23e9358c3e036ddca8d33.tar.xz
re-indent with latest version of prettier
Diffstat (limited to 'src/types')
-rw-r--r--src/types/talerTypes.ts8
-rw-r--r--src/types/transactions.ts2
-rw-r--r--src/types/walletTypes.ts3
3 files changed, 7 insertions, 6 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");
diff --git a/src/types/transactions.ts b/src/types/transactions.ts
index b1d033c09..6ed9a52d4 100644
--- a/src/types/transactions.ts
+++ b/src/types/transactions.ts
@@ -16,7 +16,7 @@
/**
* Type and schema definitions for the wallet's transaction list.
- *
+ *
* @author Florian Dold
* @author Torsten Grote
*/
diff --git a/src/types/walletTypes.ts b/src/types/walletTypes.ts
index da87b1c1c..dbfd12b52 100644
--- a/src/types/walletTypes.ts
+++ b/src/types/walletTypes.ts
@@ -476,7 +476,6 @@ export interface DepositInfo {
denomSig: string;
}
-
export interface ExtendedPermissionsResponse {
newValue: boolean;
-} \ No newline at end of file
+}