An object describing the user found, or null if none found.

interface Response {
    user?: {
        _id: string;
        username: string;
    };
}

Properties

Properties

user?: {
    _id: string;
    username: string;
}

The requested user:

Type declaration

  • _id: string

    The user's internal ID.

  • username: string

    The user's username.