Skip to content

Export supertokens config type #858

@rishabhpoddar

Description

@rishabhpoddar

This can help users create the config in its own function. Something like:

import supertokens from "supertokens-auth-react";
import {SuperTokensConfig} from "supertokens-auth-react/types";
getConfig(): SuperTokensConfig => {
   return { ... }
}

supertokens.init(getConfig())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions