next/typings/auth.d.ts

11 lines
239 B
TypeScript
Raw Normal View History

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;
}