Closed T1xx1 closed 5 months ago
https://lucia-auth.com/tutorials/github-oauth/sveltekit
At the "Update section" in the table github_id has number type as in the code just below.
github_id
number
interface DatabaseUserAttributes { github_id: number; username: string; }
Scrolling down at "Validate callback" id has become a string
id
string
interface GitHubUser { id: string; login: string; }
TypeScript is complaining
Description
https://lucia-auth.com/tutorials/github-oauth/sveltekit
At the "Update section" in the table
github_id
hasnumber
type as in the code just below.Scrolling down at "Validate callback"
id
has become astring
TypeScript is complaining![Screenshot (3)](https://github.com/lucia-auth/lucia/assets/69322987/2e788c05-df80-4afd-8c87-968bf6effe8b)