diff options
Diffstat (limited to 'packages/taler-wallet-core/src/util')
4 files changed, 5 insertions, 6 deletions
diff --git a/packages/taler-wallet-core/src/util/coinSelection.test.ts b/packages/taler-wallet-core/src/util/coinSelection.test.ts index bfcd05cce..1e87bc1f3 100644 --- a/packages/taler-wallet-core/src/util/coinSelection.test.ts +++ b/packages/taler-wallet-core/src/util/coinSelection.test.ts @@ -17,9 +17,9 @@ /** * Imports. */ + import test from "ava"; import { AmountJson, Amounts } from "@gnu-taler/taler-util"; -import test from "ava"; -import { AvailableCoinInfo, selectPayCoins } from "./coinSelection"; +import { AvailableCoinInfo, selectPayCoins } from "./coinSelection.js"; function a(x: string): AmountJson { const amt = Amounts.parse(x); diff --git a/packages/taler-wallet-core/src/util/coinSelection.ts b/packages/taler-wallet-core/src/util/coinSelection.ts index bd90526a5..500cee5d8 100644 --- a/packages/taler-wallet-core/src/util/coinSelection.ts +++ b/packages/taler-wallet-core/src/util/coinSelection.ts @@ -23,7 +23,7 @@ /** * Imports. */ -import { AmountJson, AmountLike, Amounts } from "@gnu-taler/taler-util"; +import { AmountJson, Amounts } from "@gnu-taler/taler-util"; import { strcmp, Logger } from "@gnu-taler/taler-util"; const logger = new Logger("coinSelection.ts"); diff --git a/packages/taler-wallet-core/src/util/http.ts b/packages/taler-wallet-core/src/util/http.ts index 649105f2e..868619ada 100644 --- a/packages/taler-wallet-core/src/util/http.ts +++ b/packages/taler-wallet-core/src/util/http.ts @@ -24,7 +24,7 @@ /** * Imports */ -import { OperationFailedError, makeErrorDetails } from "../operations/errors"; +import { OperationFailedError, makeErrorDetails } from "../operations/errors.js"; import { Logger, Duration, diff --git a/packages/taler-wallet-core/src/util/query.ts b/packages/taler-wallet-core/src/util/query.ts index cf3f791d5..c7c08b47c 100644 --- a/packages/taler-wallet-core/src/util/query.ts +++ b/packages/taler-wallet-core/src/util/query.ts @@ -23,7 +23,7 @@ /** * Imports. */ -import { openPromise } from "./promiseUtils"; +import { openPromise } from "./promiseUtils.js"; import { IDBRequest, IDBTransaction, @@ -31,7 +31,6 @@ import { IDBDatabase, IDBFactory, IDBVersionChangeEvent, - Event, IDBCursor, IDBKeyPath, } from "@gnu-taler/idb-bridge"; |