payload-authjs
Version:
A Payload CMS 3 plugin for Auth.js 5
15 lines (14 loc) • 460 B
JavaScript
/**
* Helper type to extract the user type from the collection user type.
*
* @example
* import type { PayloadAuthjsUser } from "payload-authjs";
* import type { User as PayloadUser } from "@/payload-types";
*
* declare module "next-auth" {
* interface User extends PayloadAuthjsUser<PayloadUser> {}
* }
*
* @see https://authjs.dev/getting-started/typescript?framework=next-js#module-augmentation
*/ export { };
//# sourceMappingURL=types.js.map