diff --git a/lib/build/recipe/oauth2provider/recipe.d.ts b/lib/build/recipe/oauth2provider/recipe.d.ts index 88f243b82..480be9d0e 100644 --- a/lib/build/recipe/oauth2provider/recipe.d.ts +++ b/lib/build/recipe/oauth2provider/recipe.d.ts @@ -22,7 +22,9 @@ export default class OAuth2Provider extends RecipeModule< config: NormalisedConfigWithAppInfoAndRecipeID, webJSRecipe?: WebJSRecipeInterface ); - static init(config?: UserInput): RecipeInitResult; + static init( + config?: UserInput + ): RecipeInitResult; static getInstanceOrThrow(): OAuth2Provider; static getInstance(): OAuth2Provider | undefined; getDefaultRedirectionURL(ctx: GetRedirectionURLContext): Promise; diff --git a/lib/ts/recipe/oauth2provider/recipe.ts b/lib/ts/recipe/oauth2provider/recipe.ts index 1509a632d..fd371b9e3 100644 --- a/lib/ts/recipe/oauth2provider/recipe.ts +++ b/lib/ts/recipe/oauth2provider/recipe.ts @@ -57,7 +57,9 @@ export default class OAuth2Provider extends RecipeModule< super(config); } - static init(config?: UserInput): RecipeInitResult { + static init( + config?: UserInput + ): RecipeInitResult { const normalisedConfig = normaliseOAuth2Config(config); return { recipeID: OAuth2Provider.RECIPE_ID,