From 708cf016e4ab1e749b86151aa2a9cc548675d63c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 22 May 2023 13:13:40 -0300 Subject: nominal typing for taskId, also fixing transactionId reference --- packages/taler-wallet-core/src/operations/pending.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/pending.ts') diff --git a/packages/taler-wallet-core/src/operations/pending.ts b/packages/taler-wallet-core/src/operations/pending.ts index 084f807f2..25d58d8e6 100644 --- a/packages/taler-wallet-core/src/operations/pending.ts +++ b/packages/taler-wallet-core/src/operations/pending.ts @@ -36,6 +36,7 @@ import { import { PendingOperationsResponse, PendingTaskType, + TaskId, } from "../pending-types.js"; import { AbsoluteTime } from "@gnu-taler/taler-util"; import { InternalWalletState } from "../internal-wallet-state.js"; @@ -45,10 +46,10 @@ import { GlobalIDB } from "@gnu-taler/idb-bridge"; function getPendingCommon( ws: InternalWalletState, - opTag: string, + opTag: TaskId, timestampDue: AbsoluteTime, ): { - id: string; + id: TaskId; isDue: boolean; timestampDue: AbsoluteTime; isLongpolling: boolean; -- cgit v1.2.3