diff options
author | Florian Dold <florian@dold.me> | 2024-06-29 14:16:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-06-29 14:16:46 +0200 |
commit | 98d7a238a615e7dc801bbfdf85188197b91f6083 (patch) | |
tree | 6600629dc2b8a70202dd4819d716a5b666cc4020 /packages/taler-util/src/wallet-types.ts | |
parent | 698be4c436240e97f66a66c3af23192033c818b3 (diff) | |
download | wallet-core-98d7a238a615e7dc801bbfdf85188197b91f6083.tar.xz |
wallet-core: request handler refactoring WIP
Diffstat (limited to 'packages/taler-util/src/wallet-types.ts')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 42c0148e7..ec401f3f6 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -3457,3 +3457,9 @@ export const codecForGetQrCodesForPaytoRequest = () => export interface GetQrCodesForPaytoResponse { codes: QrCodeSpec[]; } + +export type EmptyObject = Record<string, never>; + +export const codecForEmptyObject = (): Codec<EmptyObject> => + buildCodecForObject<EmptyObject>() + .build("EmptyObject");
\ No newline at end of file |