From 8079f19fd3bbc563e460bb2e7a5e8e1aef585bec Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:10:56 +0100 Subject: [PATCH] PR feedback --- src/formio/components/address.ts | 8 ++++---- src/formio/index.ts | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/formio/components/address.ts b/src/formio/components/address.ts index 7eb6635..32e5839 100644 --- a/src/formio/components/address.ts +++ b/src/formio/components/address.ts @@ -5,9 +5,9 @@ type TranslatableKeys = 'label' | 'description' | 'tooltip'; export interface AddressData { postcode: string; - housenumber: string; - houseletter?: string; - housenumberaddition?: string; + houseNumber: string; + houseLetter: string; + houseNumberAddition: string; } export type AddressInputSchema = InputComponentSchema; @@ -17,6 +17,6 @@ export type AddressInputSchema = InputComponentSchema { + extends Omit { type: 'address'; } diff --git a/src/formio/index.ts b/src/formio/index.ts index acfe4bb..7b95d71 100644 --- a/src/formio/index.ts +++ b/src/formio/index.ts @@ -67,7 +67,6 @@ export type AnyComponentSchema = | LicensePlateComponentSchema | BsnComponentSchema | NpFamilyMembersComponentSchema - // Composed types | AddressComponentSchema // layout | ContentComponentSchema;