How to extend AuthJS User type in NextJS using TypeScript
Extend the User type of AuthJS using TypeScript's Module Augmentation to add custom fields like role, firstName, and lastName.
Filtered archive
2 posts filed under this topic.
Extend the User type of AuthJS using TypeScript's Module Augmentation to add custom fields like role, firstName, and lastName.
Learn how to stream data in Next.js using the TransformStream API and server-sent events for real-time data updates.