jasny
TTCTheo's Typesafe Cult
•Created by Gabriel on 8/28/2023 in #questions
Help in Nextauth EmailProvider
This seems to be a typing bug in the next-auth library and not an actual problem. I ended up just overwriting the type of the
options
property to satisfy the Provider
type: as EmailConfig & { options: Record<string, unknown> }
.
13 replies