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 {
    administrativeArea: "billing" | "sales" | "delivery";
    jobTitle: string;
    id: number;
    email: string;
    name: {
        first: string;
        last: string;
    };
}

Hierarchy (view full)

Properties

administrativeArea: "billing" | "sales" | "delivery"
jobTitle: string
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.