Update code to work with @octokit/rest v21.1.1

This commit is contained in:
Naoki Oketani
2025-05-01 12:45:11 +00:00
parent e94b48fef5
commit 8319691add
3 changed files with 10 additions and 9 deletions

View File

@@ -27,6 +27,8 @@ export type GetIssuesFunc = (options: {
owner: string
repo: string
state: 'open' | 'closed' | 'all' | undefined
// eslint-disable-next-line @typescript-eslint/no-explicit-any
[key: string]: any // Allow additional properties
}) => Promise<{data: {title: string; number: number}[]}>
export async function getExistingIssueNumber(