Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 24, 2026

The @octokit/core 7.0.6 update introduced a compilation error because its dependency @octokit/request-error@7.1.0 uses ErrorOptions, a type only available in ES2022 library definitions.

// @octokit/request-error/dist-types/types.d.ts
export interface RequestErrorOptions extends ErrorOptions {
  // ErrorOptions is from ES2022, but tsconfig had lib: ["DOM", "ES2021"]

Changes

  • Updated tsconfig.json lib from ES2021 to ES2022 to include ErrorOptions type definition
  • Kept target at ES2021 for runtime compatibility

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: KengoTODA <505751+KengoTODA@users.noreply.github.com>
Copilot AI changed the title [WIP] Update dependency @octokit/core to version 7.0.6 Fix TypeScript compilation error with @octokit/core 7.0.6 Jan 24, 2026
Copilot AI requested a review from KengoTODA January 24, 2026 23:33
@KengoTODA KengoTODA marked this pull request as ready for review January 25, 2026 01:46
Copilot AI review requested due to automatic review settings January 25, 2026 01:46
@KengoTODA KengoTODA merged commit a8e0481 into renovate/octokit-monorepo Jan 25, 2026
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@KengoTODA KengoTODA deleted the copilot/sub-pr-1175 branch January 25, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants