I noticed supabase's typescript lib has a ton of optional fields for the user/auth types, which means a lot of convoluted typescript code for type assertions and null/undefined checking (see screenshot)
according to the docs, these fields shouldn't be optional. is the typescript lib outdated?