signup data argument is required by typescript
shallow-alchemy opened this issue ยท comments
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
๐ This issue has been resolved in version 0.9.27 ๐
The release is available on GitHub release
Your semantic-release bot ๐ฆ๐