chore: fixing types

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
benjdlambert
2025-07-31 16:38:53 +02:00
parent a060e618b1
commit b465fbb09b
5 changed files with 11 additions and 24 deletions
+2 -6
View File
@@ -130,9 +130,7 @@ const appPlugin: FrontendPlugin<
inputs: {
router: ExtensionInput<
ConfigurableExtensionDataRef<
ComponentType<{
children?: ReactNode | undefined;
}>,
(props: { children: ReactNode }) => JSX.Element | null,
'app.router.wrapper',
{}
>,
@@ -168,9 +166,7 @@ const appPlugin: FrontendPlugin<
>;
wrappers: ExtensionInput<
ConfigurableExtensionDataRef<
ComponentType<{
children?: ReactNode | undefined;
}>,
(props: { children: ReactNode }) => JSX.Element | null,
'app.root.wrapper',
{}
>,
+1 -1
View File
@@ -182,7 +182,7 @@ type RouteResolverProxy = {
export interface AppRouterProps {
children?: ReactNode;
SignInPageComponent?: ComponentType<SignInPageProps>;
RouterComponent?: ComponentType<PropsWithChildren<{}>>;
RouterComponent?: (props: { children: ReactNode }) => JSX.Element | null;
extraElements?: Array<JSX.Element>;
}