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
Strict typing helps catch errors early during development, provides better autocompletion and documentation, and makes the code more predictable and easier to refactor.
🤝 We must be strong 💪
Use TypeScript and then set everything to type Any
- JavaScript User47
Example
❌ Wrong ❌
This code is not compatible* with supabase SDK as fullName is not a field belonging to the data structure passed into signUp()
Strict typing helps catch errors early during development, provides better autocompletion and documentation, and makes the code more predictable and easier to refactor.
🤝 We must be strong 💪
Example
❌ Wrong ❌
This code is not compatible* with supabase SDK as
fullName
is not a field belonging to the data structure passed intosignUp()
🟢 Good 🟢
This code directly follows the SDK and would throw an error if
fullName
was added tot he root ofdata
The text was updated successfully, but these errors were encountered: