Skip to main content

Type Definition

Below is the type definition for the RegistrationResponse type. This is the return type for the registerUser() method from the useAuth hook. It returns an empty object {} when successful. After successful registration, you can sign the user in using the login() function.
type RegistrationResponse = Record<string, never>;