Stytch project configuration
Some parts of the SDK behave differently depending on how your Stytch project has been configured. For example, stytch.session.getTokens() does not return a session token if the project is using HttpOnly cookies. You can customize these behaviors and get more accurate type information by specifying your Stytch project’s configuration. The easiest way to do this is by using declaration merging to extend the Stytch.DefaultProjectConfiguration interface. For example, add astytch.d.ts file to your project like this: