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

interface Response {
    users?: {
        _id: string;
        username: string;
    }[];
}

Properties

Properties

users?: {
    _id: string;
    username: string;
}[]

The requested user:

Type declaration

  • _id: string

    The user's internal ID.

  • username: string

    The user's username.