Update the way we export the KcContext type
This commit is contained in:
parent
9de91a5ce0
commit
7ced35e951
@ -17,4 +17,4 @@ export const { kcContext } = getKcContext({
|
||||
//mockPageId: "password.ftl",
|
||||
});
|
||||
|
||||
export type KcContext = NonNullable<typeof kcContext>;
|
||||
export type KcContext = NonNullable<ReturnType<typeof getKcContext>["kcContext"]>;
|
||||
|
@ -98,4 +98,4 @@ export const { kcContext } = getKcContext({
|
||||
});
|
||||
|
||||
|
||||
export type KcContext = NonNullable<typeof kcContext>;
|
||||
export type KcContext = NonNullable<ReturnType<typeof getKcContext>["kcContext"]>;
|
Loading…
Reference in New Issue
Block a user