diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-02 11:21:42 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-02 11:21:42 +0530 |
commit | 0ffea74ad52113aa9036453ff3ea8d4dff61b3d8 (patch) | |
tree | bb12b6b436937a6afb0cbeb82b51f3b606ae74dc /packages/taler-wallet-core/src/types/transactions.ts | |
parent | baaa11c37f57c7a66dbbd6e1d306b2459d3c0fc4 (diff) | |
download | wallet-core-0ffea74ad52113aa9036453ff3ea8d4dff61b3d8.tar.gz wallet-core-0ffea74ad52113aa9036453ff3ea8d4dff61b3d8.tar.bz2 wallet-core-0ffea74ad52113aa9036453ff3ea8d4dff61b3d8.zip |
no more const enum, remove unused field
Diffstat (limited to 'packages/taler-wallet-core/src/types/transactions.ts')
-rw-r--r-- | packages/taler-wallet-core/src/types/transactions.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/types/transactions.ts b/packages/taler-wallet-core/src/types/transactions.ts index dce480830..1d1eb6490 100644 --- a/packages/taler-wallet-core/src/types/transactions.ts +++ b/packages/taler-wallet-core/src/types/transactions.ts @@ -96,7 +96,7 @@ export type Transaction = | TransactionTip | TransactionRefresh; -export const enum TransactionType { +export enum TransactionType { Withdrawal = "withdrawal", Payment = "payment", Refund = "refund", @@ -104,7 +104,7 @@ export const enum TransactionType { Tip = "tip", } -export const enum WithdrawalType { +export enum WithdrawalType { TalerBankIntegrationApi = "taler-bank-integration-api", ManualTransfer = "manual-transfer", } @@ -164,7 +164,7 @@ interface TransactionWithdrawal extends TransactionCommon { withdrawalDetails: WithdrawalDetails; } -export const enum PaymentStatus { +export enum PaymentStatus { /** * Explicitly aborted after timeout / failure */ |