BasicUser is an interface representing a basic user. It includes the id, name, and avatar each having their own properties.

interface BasicUser {
    avatar: {
        large: string;
    };
    id: number;
    name: string;
}

Properties

Properties

avatar: {
    large: string;
}

avatar is an object representing the avatar of the user. It includes a large size avatar.

Type declaration

  • large: string

    large is a string representing the URL of the large size avatar of the user.

id: number

id is a number representing the unique identifier of the user.

name: string

name is a string representing the name of the user.