Skip to content

fix: augment @octokit/core instead of a @octokit/core/types#666

Open
Andarist wants to merge 1 commit intooctokit:mainfrom
Andarist:patch-1
Open

fix: augment @octokit/core instead of a @octokit/core/types#666
Andarist wants to merge 1 commit intooctokit:mainfrom
Andarist:patch-1

Conversation

@Andarist
Copy link

@Andarist Andarist commented Mar 3, 2026

Resolves #665


Before the change?

  • I was running into some weird implicit anys when combining this plugin with @octokit/plugin-throttling

After the change?

  • The spurious error is no longer reported

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

This PR simply matches the pre-established way of augmenting the Octokit types, see:
https://github.com/octokit/plugin-throttling.js/blob/59b7668b5b492bb60ebd6f9e7a5a0b68ff6b9a1b/src/index.ts#L208-L212

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🆕 Triage

Development

Successfully merging this pull request may close these issues.

[BUG]: wrong @octokit/core type augmentation

1 participant