-fix type error

This commit is contained in:
Florian Dold 2023-04-22 19:11:45 +02:00
parent da59c85d2d
commit 15a1b8d096
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -27,6 +27,7 @@ import {
TalerProtocolTimestamp,
TransactionCommon,
TransactionDeposit,
TransactionMajorState,
TransactionPayment,
TransactionPeerPullCredit,
TransactionPeerPullDebit,
@ -34,8 +35,6 @@ import {
TransactionPeerPushDebit,
TransactionRefresh,
TransactionRefund,
TransactionState,
TransactionSubstate,
TransactionTip,
TransactionType,
TransactionWithdrawal,
@ -66,8 +65,9 @@ const commonTransaction = {
transactionId: "txn:deposit:12",
frozen: undefined as any as boolean, //deprecated
type: TransactionType.Deposit,
txState: TransactionState.Unknown,
txSubstate: TransactionSubstate.None,
txState: {
major: TransactionMajorState.Unknown,
},
} as TransactionCommon;
import merchantIcon from "../../static-dev/merchant-icon.jpeg";