- fix formatting for different files

This commit is contained in:
Mike Penz
2021-05-13 14:48:12 +02:00
parent 82e9ebbfff
commit 31d30f3069
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -84,7 +84,8 @@ export class PullRequests {
})
for await (const response of this.octokit.paginate.iterator(options)) {
type PullsListData = RestEndpointMethodTypes['pulls']['list']['response']['data']
type PullsListData =
RestEndpointMethodTypes['pulls']['list']['response']['data']
const prs: PullsListData = response.data as PullsListData
for (const pr of prs.filter(p => !!p.merged_at)) {