From 6fdfc2243c4c47a37e1568fd7152948602a4ef6a Mon Sep 17 00:00:00 2001 From: Bennett Perkins <1610227+bennettp123@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:44:25 +0800 Subject: [PATCH] fix type errors in LayoutRegistration.tsx --- packages/json-react-layouts/src/LayoutRegistration.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/json-react-layouts/src/LayoutRegistration.tsx b/packages/json-react-layouts/src/LayoutRegistration.tsx index 0fa18d1..6a439fc 100644 --- a/packages/json-react-layouts/src/LayoutRegistration.tsx +++ b/packages/json-react-layouts/src/LayoutRegistration.tsx @@ -31,9 +31,9 @@ interface RegisterComponentsStep { export interface CompositionRegistrationBuilderStart< Components extends ComponentInformation, ComponentMiddlewaresProps extends {}, - Services + Services extends {} = {} > { - registerComposition( + registerComposition( registration: CompositionRegistration, ): CompositionRegistrationBuilder< Components, @@ -49,9 +49,9 @@ export interface CompositionRegistrationBuilder< ComponentMiddlewaresProps extends {}, Compositions extends CompositionInformation, CompositionMiddlewaresProps extends {}, - Services + Services extends {} = {} > { - registerComposition( + registerComposition( registration: CompositionRegistration, ): CompositionRegistrationBuilder< Components,