AdminUser
interface AdminUser {
id: number;
email: string;
name: { first: string; last: string };
administrativeArea: "sales" | "delivery" | "billing";
jobTitle: string;
}
id: number;
email: string;
name: { first: string; last: string };
administrativeArea: "sales" | "delivery" | "billing";
jobTitle: string;
}
Hierarchy (View Summary)
- User
- AdminUser
Index
Properties
Properties
id
id: number
The user's ID.
email: string
The user's email address.
name
name: { first: string; last: string }
The user's name.
Type declaration
first: string
The person's given name.
last: string
The person's family name.
administrative Area
administrativeArea: "sales" | "delivery" | "billing"
job Title
jobTitle: string
An interface that extends
User
and adds more properties.Notice how TypeDoc automatically shows the inheritance hierarchy and where each property was originally defined.