diff options
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 |