Skip to content

Commit bd605a4

Browse files
committed
chore: enforce getComments to TicketComment[]
1 parent 5141990 commit bd605a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clients/core/tickets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ class Tickets extends Client {
523523
/**
524524
* Retrieve comments associated with a specific ticket.
525525
* @param {number} ticketId - The ID of the ticket to retrieve comments for.
526-
* @returns {Promise<Array>} A promise that resolves with an array of comments associated with the ticket.
526+
* @returns {Promise<Array<TicketComment>>} A promise that resolves with an array of comments associated with the ticket.
527527
* @throws {Error} If `ticketId` is not a valid number.
528528
* @see {@link https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/}
529529
* @example

0 commit comments

Comments
 (0)