Skip to content

Commit b5090a3

Browse files
authored
fix(typescript): avoid the void (#2116)
1 parent c2461c4 commit b5090a3

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"@octokit/oauth-app": "^3.3.0",
2626
"@octokit/plugin-paginate-rest": "^2.13.3",
2727
"@octokit/plugin-rest-endpoint-methods": "^5.0.0",
28-
"@octokit/plugin-retry": "^3.0.7",
29-
"@octokit/plugin-throttling": "^3.4.1",
28+
"@octokit/plugin-retry": "^3.0.8",
29+
"@octokit/plugin-throttling": "^3.4.3",
3030
"@octokit/types": "^6.16.1"
3131
},
3232
"devDependencies": {

src/octokit.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ import { Octokit as OctokitCore } from "@octokit/core";
22
import { paginateRest } from "@octokit/plugin-paginate-rest";
33
import { restEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
44
import { retry } from "@octokit/plugin-retry";
5-
import { throttling } from "@octokit/plugin-throttling";
5+
// import { throttling } from "@octokit/plugin-throttling";
66

77
import { VERSION } from "./version";
88

99
export const Octokit = OctokitCore.plugin(
1010
restEndpointMethods,
1111
paginateRest,
12-
retry,
13-
throttling
12+
retry
13+
// throttling
1414
).defaults({
1515
userAgent: `octokit-rest.js/${VERSION}`,
1616
throttle: {

0 commit comments

Comments
 (0)