You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using gotrue-js with typescript, an error occurs when following documentation for using .signup(). The docs show only two required arguments, however the final data argument is required.
To Reproduce
install typescript
instantiate new GoTrue object
try to use .signup() with only two arguments (email, password) omitting a data object.
see error
Expected behavior
The final argument is expected to be optional because 1) it is not required and 2) the documentation shows this
Desktop (please complete the following information):
OS: macOS
Browser [e.g. chrome, safari]: chromium engine 12.16.13 via electron 10.1.1
The text was updated successfully, but these errors were encountered:
Describe the bug
When using gotrue-js with typescript, an error occurs when following documentation for using .signup(). The docs show only two required arguments, however the final data argument is required.
To Reproduce
Expected behavior
The final argument is expected to be optional because 1) it is not required and 2) the documentation shows this
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: