Open Issues Need Help
View All on GitHub 🐞 Bug: `Type Error` – TS2322 about 1 hour ago
AI Summary: A TypeScript `TS2322` error occurs because a `Date` object is being assigned to `user.otpExpires`, which is typed as a `number`. The `otpExpires` variable is initialized as a `Date` object, leading to a type mismatch during assignment. The resolution involves converting the `Date` object to a numeric timestamp (e.g., using `.getTime()`) before assignment.
Complexity:
1/5
bug good first issue onlydust-wave