Skip to content

Commit 3a34fa6

Browse files
committed
chore: enforce listIncidents to Ticket[]
1 parent 8ec9ab2 commit 3a34fa6

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
@@ -256,7 +256,7 @@ class Tickets extends Client {
256256
/**
257257
* List incidents related to a specific ticket.
258258
* @param {number} ticketId - The ID of the ticket.
259-
* @returns {Promise<Array>} An array of incidents related to the ticket.
259+
* @returns {Promise<Array<Ticket>>} An array of incidents related to the ticket.
260260
* @see {@link https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#list-tickets}
261261
* @example
262262
* const incidents = await client.tickets.listIncidents(7890);

0 commit comments

Comments
 (0)