next/typings/auth.d.ts

11 lines
239 B
TypeScript

import { IUser } from "~/models/user";
import { SessionData as SDI } from "#auth";
declare module "#auth" {
export interface SessionData extends SDI {
token?: string;
user?: IUser;
}
export type WrappedSessionData = SessionData;
}