diff --git a/typings/sessionData.ts b/typings/sessionData.ts new file mode 100644 index 0000000..49141fc --- /dev/null +++ b/typings/sessionData.ts @@ -0,0 +1,9 @@ +import type { SessionData } from "#auth"; +import { IUser } from "~/models/user"; + +declare module "#auth" { + export interface SessionData { + token?: string; + user?: IUser; + } +}