UNPKG

supertokens-auth-react

Version:

ReactJS SDK that provides login functionality with SuperTokens.

11 lines (10 loc) 291 B
import type { SessionClaim } from "supertokens-web-js/recipe/session"; export declare const useClaimValue: <T>(claim: SessionClaim<T>) => | { loading: true; } | { loading: false; doesSessionExist: boolean; value: T | undefined; };