• It takes an id as a parameter, and returns a promise that will resolve to the deleted ticket

    Returns

    A promise that will resolve to the deleted ticket.

    Author

    aayushchugh

    Parameters

    • id: string

      The id of the ticket to be deleted.

    Returns QueryWithHelpers<null | Document<any, BeAnObject, Ticket> & Ticket & IObjectWithTypegooseFunction & {
        _id: ObjectId;
    }, Document<any, BeAnObject, Ticket> & Ticket & IObjectWithTypegooseFunction & {
        _id: ObjectId;
    }, BeAnObject, DocumentType<Ticket, BeAnObject>>

Generated using TypeDoc