diff options
author | Florian Dold <florian@dold.me> | 2020-11-27 11:23:06 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-11-27 11:23:06 +0100 |
commit | 0828e65f8845dc4b148c0d3b0697fb589b338239 (patch) | |
tree | 800245846e3b28a9dfe89c2893fd0a9bcf47847e /packages/taler-wallet-core/src/operations/refresh.ts | |
parent | 4e481a51c64084db21d3eea513b13a7a3bd6603a (diff) | |
download | wallet-core-0828e65f8845dc4b148c0d3b0697fb589b338239.tar.xz |
fix static types
Diffstat (limited to 'packages/taler-wallet-core/src/operations/refresh.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/refresh.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/refresh.ts b/packages/taler-wallet-core/src/operations/refresh.ts index c92ce9209..21c884d48 100644 --- a/packages/taler-wallet-core/src/operations/refresh.ts +++ b/packages/taler-wallet-core/src/operations/refresh.ts @@ -52,9 +52,7 @@ import { durationMax, durationMul, } from "../util/time"; -import { - readSuccessResponseJsonOrThrow, -} from "../util/http"; +import { readSuccessResponseJsonOrThrow } from "../util/http"; import { codecForExchangeMeltResponse, codecForExchangeRevealResponse, @@ -567,7 +565,11 @@ async function processRefreshSession( */ export async function createRefreshGroup( ws: InternalWalletState, - tx: TransactionHandle, + tx: TransactionHandle< + | typeof Stores.denominations + | typeof Stores.coins + | typeof Stores.refreshGroups + >, oldCoinPubs: CoinPublicKey[], reason: RefreshReason, ): Promise<RefreshGroupId> { |