commit 7eef3f57d297a95c3ac933896d1a7c59b3f04085 parent 318f54418467e31c9b4b71d82d2cf00932fc167c Author: Florian Dold <florian@dold.me> Date: Wed, 24 May 2023 15:01:59 +0200 -type Diffstat:
| M | packages/taler-wallet-core/src/operations/common.ts | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/taler-wallet-core/src/operations/common.ts b/packages/taler-wallet-core/src/operations/common.ts @@ -467,11 +467,11 @@ export type ParsedTombstone = } | { tag: TombstoneTag.DeleteRefund; refundGroupId: string }; -export function constructTombstone(p: ParsedTombstone): string { +export function constructTombstone(p: ParsedTombstone): TombstoneIdStr { switch (p.tag) { case TombstoneTag.DeleteWithdrawalGroup: - return `tmb:${p.tag}:${p.withdrawalGroupId}`; + return `tmb:${p.tag}:${p.withdrawalGroupId}` as TombstoneIdStr; case TombstoneTag.DeleteRefund: - return `tmb:${p.tag}:${p.refundGroupId}`; + return `tmb:${p.tag}:${p.refundGroupId}` as TombstoneIdStr; } }