From 6a4832513235a978836a35d1d1afa14df9bc9ee9 Mon Sep 17 00:00:00 2001 From: garronej Date: Sun, 26 Feb 2023 15:37:52 +0100 Subject: [PATCH] Be more relax on the type safety to avoir headache --- src/lib/KcProps.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/KcProps.ts b/src/lib/KcProps.ts index 9b73d04c..d80f7a80 100644 --- a/src/lib/KcProps.ts +++ b/src/lib/KcProps.ts @@ -224,11 +224,11 @@ export type TemplateProps = { +export type PageProps = { kcContext: KcContext; i18n: I18n; doFetchDefaultThemeResources?: boolean; - Template: (props: TemplateProps) => JSX.Element | null; + Template: (props: TemplateProps) => JSX.Element | null; } & KcProps; assert();