Fetches the comments on this issue.
GET /repos/{owner}/{repo}/issues/{issue_number}/comments
Optionalparams: PaginationParams & { since?: string }Optional filters: since, per_page, page
A paged response of comments
Fetches the issue details.
GET /repos/{owner}/{repo}/issues/{issue_number}
The issue object
Allows the resource to be awaited directly, resolving with the issue info. Delegates to IssueResource.get.
Optionalonfulfilled: null | (value: GitHubIssue) => TResult1 | PromiseLike<TResult1>Optionalonrejected: null | (reason: unknown) => TResult2 | PromiseLike<TResult2>
Represents a GitHub issue resource with chainable async methods.
Implements
PromiseLike<GitHubIssue>so it can be awaited directly to fetch the issue info, while also exposing sub-resource methods.Example