refactor(typing): rename file with nuxt-auth definition override

This commit is contained in:
parent 7e300734d8
commit 70cc843f15
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
2 changed files with 10 additions and 9 deletions

10
typings/auth.d.ts vendored Normal file

@ -0,0 +1,10 @@
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;
}

@ -1,9 +0,0 @@
import type { SessionData } from "#auth";
import { IUser } from "~/models/user";
declare module "#auth" {
export interface SessionData {
token?: string;
user?: IUser;
}
}