commit 1473d836deb91b6af777970bd3cc4e76e43ab263 parent 286157f934293f2b4820efb5202f6600ae98d371 Author: Florian Dold <florian@dold.me> Date: Mon, 22 Jun 2026 17:26:28 +0200 dce Diffstat:
| M | packages/taler-wallet-core/src/query.ts | | | 13 | ------------- |
1 file changed, 0 insertions(+), 13 deletions(-)
diff --git a/packages/taler-wallet-core/src/query.ts b/packages/taler-wallet-core/src/query.ts @@ -558,19 +558,6 @@ export type DbReadWriteTransaction< notify: (w: WalletNotification) => void; }; -/** - * Convert the type of an array to a union of the contents. - * - * Example: - * Input ["foo", "bar"] - * Output "foo" | "bar" - */ -export type UnionFromArray<Arr> = Arr extends { - [X in keyof Arr]: Arr[X] & string; -} - ? Arr[keyof Arr & number] - : unknown; - function runTx<Arg, Res>( tx: IDBTransaction, arg: Arg,