// create a generic interface
import { Document } from 'mongoose';
export interface DocumentResult<T> extends Document {
_doc: T;
}
interface IUser extends DocumentResult<IUser> {
id: string;
firstname: string;
lastname: string;
phoneNumber: IPhoneNumber;
email: string;
password: string;
}