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