export type IFirm = { instance: string, firm: string entity?: any } type User = { id: number, email: string, firms: [IFirm], }; export type IAuthUser = User; export type IUser = User | null;