You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version is 9.1.2
As you spotted well - the issue is caused by the code here: @octokit/types/dist-types/generated/Endpoints.d.ts:14
What would be your proposal? We've for now downgraded version to the previous one.
What happened?
After upgrading @octokit/rest to the latest one, this TS2345 error started appearing:
Error TS2345: Argument of type '{ body: string; issue_number: number; owner: string; repo: string; }' is not assignable to parameter of type 'RequestParameters & Omit<{ owner: string; repo: string; issue_number: number; } & { data: never; }, "baseUrl" | "headers" | "mediaType">'
cc: @gr2m, @wolfy1339
Versions
Node v14.21.1 typescript@4.9.5 @octokit/rest@19.0.7
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: