summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/balance.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2020-11-27 11:23:06 +0100
committerFlorian Dold <florian@dold.me>2020-11-27 11:23:06 +0100
commit0828e65f8845dc4b148c0d3b0697fb589b338239 (patch)
tree800245846e3b28a9dfe89c2893fd0a9bcf47847e /packages/taler-wallet-core/src/operations/balance.ts
parent4e481a51c64084db21d3eea513b13a7a3bd6603a (diff)
downloadwallet-core-0828e65f8845dc4b148c0d3b0697fb589b338239.tar.gz
wallet-core-0828e65f8845dc4b148c0d3b0697fb589b338239.tar.bz2
wallet-core-0828e65f8845dc4b148c0d3b0697fb589b338239.zip
fix static types
Diffstat (limited to 'packages/taler-wallet-core/src/operations/balance.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/balance.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/balance.ts b/packages/taler-wallet-core/src/operations/balance.ts
index 91c5e639e..b82e4c9d1 100644
--- a/packages/taler-wallet-core/src/operations/balance.ts
+++ b/packages/taler-wallet-core/src/operations/balance.ts
@@ -38,7 +38,13 @@ interface WalletBalance {
*/
export async function getBalancesInsideTransaction(
ws: InternalWalletState,
- tx: TransactionHandle,
+ tx: TransactionHandle<
+ | typeof Stores.reserves
+ | typeof Stores.coins
+ | typeof Stores.reserves
+ | typeof Stores.refreshGroups
+ | typeof Stores.withdrawalGroups
+ >,
): Promise<BalancesResponse> {
const balanceStore: Record<string, WalletBalance> = {};