diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-05 14:59:02 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-05 14:59:02 -0300 |
commit | f68585db5f9ba0f760e22dada474fd7ec2847796 (patch) | |
tree | b1efaf9560df032225f7aa1debdb4e8624261b92 /packages/demobank-ui/src/utils.ts | |
parent | 58d45fc8aef174027b2855a3cd24b0eb73d6de2e (diff) | |
download | wallet-core-f68585db5f9ba0f760e22dada474fd7ec2847796.tar.xz |
pretty
Diffstat (limited to 'packages/demobank-ui/src/utils.ts')
-rw-r--r-- | packages/demobank-ui/src/utils.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/demobank-ui/src/utils.ts b/packages/demobank-ui/src/utils.ts index 1d3650772..4413ce814 100644 --- a/packages/demobank-ui/src/utils.ts +++ b/packages/demobank-ui/src/utils.ts @@ -89,8 +89,7 @@ export type RecursivePartial<Type> = { : Type[P]; }; export type ErrorMessageMappingFor<Type> = { - [prop in keyof Type]+?: // enumerate known object - Exclude<Type[prop], undefined> extends PaytoString + [prop in keyof Type]+?: Exclude<Type[prop], undefined> extends PaytoString // enumerate known object ? TranslatedString : Exclude<Type[prop], undefined> extends AmountString ? TranslatedString |