From 0a5663cb2e7122e1e13e3c2cac594a121b8e2bf7 Mon Sep 17 00:00:00 2001 From: onmax Date: Wed, 21 Aug 2024 21:48:08 +0200 Subject: [PATCH] chore: improve types --- src/components/swap/SwapNotification.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/swap/SwapNotification.vue b/src/components/swap/SwapNotification.vue index db00e2895..f3107857a 100644 --- a/src/components/swap/SwapNotification.vue +++ b/src/components/swap/SwapNotification.vue @@ -774,7 +774,8 @@ export default defineComponent({ state: SwapState.COMPLETE, stateEnteredAt: Date.now(), settlementTx: - settlementTx as Transaction, + settlementTx as Transaction< + SwapAsset.NIM | SwapAsset.BTC | SwapAsset.EUR | SwapAsset.CRC>, }); } catch (error: any) { if (error.message === SwapError.EXPIRED) return;