supertokens-auth-react
Version:
ReactJS SDK that provides login functionality with SuperTokens.
8 lines (7 loc) • 396 B
TypeScript
import type { OnHandleEventContext } from "./types";
import type { RecipeOnHandleEventFunction } from "../recipeModule/types";
import type { RecipeInterface } from "supertokens-web-js/recipe/thirdparty";
export declare const getFunctionOverrides: (
recipeId: string,
onHandleEvent: RecipeOnHandleEventFunction<OnHandleEventContext>
) => (originalImp: RecipeInterface) => RecipeInterface;