diff --git a/src/account/pages/PageProps.ts b/src/account/pages/PageProps.ts index 15ec16aa..620b6992 100644 --- a/src/account/pages/PageProps.ts +++ b/src/account/pages/PageProps.ts @@ -1,10 +1,11 @@ import type { I18n } from "keycloakify/account/i18n"; import type { TemplateProps, ClassKey } from "keycloakify/account/TemplateProps"; import type { LazyOrNot } from "keycloakify/tools/LazyOrNot"; +import type { KcContext } from "keycloakify/account/kcContext"; -export type PageProps = { +export type PageProps = { Template: LazyOrNot<(props: TemplateProps) => JSX.Element | null>; - kcContext: KcContext; + kcContext: NarowedKcContext; i18n: I18nExtended; doUseDefaultCss: boolean; classes?: Partial>; diff --git a/src/login/pages/PageProps.ts b/src/login/pages/PageProps.ts index 6e513130..d2c80299 100644 --- a/src/login/pages/PageProps.ts +++ b/src/login/pages/PageProps.ts @@ -1,10 +1,11 @@ import type { I18n } from "keycloakify/login/i18n"; import { type TemplateProps, type ClassKey } from "keycloakify/login/TemplateProps"; import type { LazyOrNot } from "keycloakify/tools/LazyOrNot"; +import type { KcContext } from "keycloakify/account/kcContext"; -export type PageProps = { +export type PageProps = { Template: LazyOrNot<(props: TemplateProps) => JSX.Element | null>; - kcContext: KcContext; + kcContext: NarowedKcContext; i18n: I18nExtended; doUseDefaultCss: boolean; classes?: Partial>;