UNPKG

supertokens-website

Version:

frontend sdk for website to be used for auth solution.

9 lines (8 loc) 370 B
/** * Refer to this issue to know why this is required: https://github.com/supertokens/supertokens-website/issues/134 */ export declare type CookieHandlerInterface = { setCookie: (cookieString: string) => Promise<void>; getCookie: () => Promise<string>; }; export declare type CookieHandlerInput = (original: CookieHandlerInterface) => CookieHandlerInterface;