diff --git a/src/github/index.ts b/src/github/index.ts index f3c35e86..d861cbbb 100644 --- a/src/github/index.ts +++ b/src/github/index.ts @@ -473,7 +473,7 @@ async function createRepository( async function listIssues( owner: string, repo: string, - options: z.infer + options: Omit, 'owner' | 'repo'> ): Promise { const url = new URL(`https://api.github.com/repos/${owner}/${repo}/issues`); @@ -505,7 +505,7 @@ async function updateIssue( owner: string, repo: string, issueNumber: number, - options: z.infer + options: Omit, 'owner' | 'repo' | 'issue_number'> ): Promise { const response = await fetch( `https://api.github.com/repos/${owner}/${repo}/issues/${issueNumber}`,