Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

225 B
Raw Blame
import type { User } from "next-auth";

type UserId = string;

declare module "next-auth/jwt" {
	interface JWT {
		id: UserId;
	}
}

declare module "next-auth" {
	interface Session {
		user: User & {
			id: UserId;
		};
	}
}