diff --git a/lib/ts/recipe/recipeModule/types.ts b/lib/ts/recipe/recipeModule/types.ts index 7d1b87c3f..a5bc90b59 100644 --- a/lib/ts/recipe/recipeModule/types.ts +++ b/lib/ts/recipe/recipeModule/types.ts @@ -40,7 +40,7 @@ export type Config; export type NormalisedConfig = { - getRedirectionURL: (context: GetRedirectionURLContextType, userContext?: any) => Promise; + getRedirectionURL: (context: GetRedirectionURLContextType, userContext: any) => Promise; onHandleEvent: RecipeOnHandleEventFunction; useShadowDom: boolean; rootStyle: string;