Skip to content

Commit 0f68cba

Browse files
committed
fix: add missing types to OAuth2Provider recipe init
1 parent d48dee8 commit 0f68cba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/build/recipe/oauth2provider/recipe.d.ts

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/recipe/oauth2provider/recipe.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ export default class OAuth2Provider extends RecipeModule<
5757
super(config);
5858
}
5959

60-
static init(config?: UserInput): RecipeInitResult<any, never, any, any> {
60+
static init(
61+
config?: UserInput
62+
): RecipeInitResult<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext, NormalisedConfig> {
6163
const normalisedConfig = normaliseOAuth2Config(config);
6264
return {
6365
recipeID: OAuth2Provider.RECIPE_ID,

0 commit comments

Comments
 (0)