[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: -fix TS2345: Argument of type
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: -fix TS2345: Argument of type 'AmountJson' is not assignable to parameter of type 'never' |
Date: |
Wed, 23 Mar 2022 18:20:27 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 136c39ba -fix TS2345: Argument of type 'AmountJson' is not assignable
to parameter of type 'never'
136c39ba is described below
commit 136c39ba9fb86080beaa27cd9e0c4d5086a2d691
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Mar 23 14:20:18 2022 -0300
-fix TS2345: Argument of type 'AmountJson' is not assignable to parameter
of type 'never'
---
packages/taler-wallet-core/src/operations/pay.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/operations/pay.ts
b/packages/taler-wallet-core/src/operations/pay.ts
index dcfd6841..1c1a0f50 100644
--- a/packages/taler-wallet-core/src/operations/pay.ts
+++ b/packages/taler-wallet-core/src/operations/pay.ts
@@ -120,7 +120,7 @@ export async function getTotalPaymentCost(
return ws.db
.mktx((x) => ({ coins: x.coins, denominations: x.denominations }))
.runReadOnly(async (tx) => {
- const costs = [];
+ const costs: AmountJson[] = [];
for (let i = 0; i < pcs.coinPubs.length; i++) {
const coin = await tx.coins.get(pcs.coinPubs[i]);
if (!coin) {
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: -fix TS2345: Argument of type 'AmountJson' is not assignable to parameter of type 'never',
gnunet <=