Interface AdminUser

An interface that extends User and adds more properties.

Notice how TypeDoc automatically shows the inheritance hierarchy and where each property was originally defined.

interface AdminUser {
    id: number;
    email: string;
    name: { first: string; last: string };
    administrativeArea: "sales" | "delivery" | "billing";
    jobTitle: string;
}

Hierarchy (View Summary)

Properties

id: number

The user's ID.

email: string

The user's email address.

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.

administrativeArea: "sales" | "delivery" | "billing"
jobTitle: string