diff options
author | Sebastian <sebasjm@gmail.com> | 2023-05-22 13:13:40 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-05-22 13:13:40 -0300 |
commit | 708cf016e4ab1e749b86151aa2a9cc548675d63c (patch) | |
tree | 54c5bc6de7a62a6088383fafc8e3970979b1603e /packages/taler-wallet-core/src/operations/pending.ts | |
parent | 76d2524b8b59ca52477f4b0686ccdcee371ecb9e (diff) | |
download | wallet-core-708cf016e4ab1e749b86151aa2a9cc548675d63c.tar.xz |
nominal typing for taskId, also fixing transactionId reference
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pending.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pending.ts | 5 |
1 files changed, 3 insertions, 2 deletions
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; |