diff --git a/package-lock.json b/package-lock.json index 3a615a09b..1f00d0988 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1574,9 +1574,9 @@ } }, "@octokit/types": { - "version": "2.8.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.8.2.tgz", - "integrity": "sha512-8cs4DjRAzFoGo1ieUhDyrTdPK016V3JD/H00nbnojSCUYfOXnnJ1owUaAT/3OebTzp/tgdTG6M+8PdCTJzI+/w==", + "version": "2.11.1", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.11.1.tgz", + "integrity": "sha512-QaLoLkmFdfoNbk3eOzPv7vKrUY0nRJIYmZDoz/pTer4ICpqu80aSQTVHnnUxEFuURCiidig76CcxUOYC/bY3RQ==", "requires": { "@types/node": ">= 8" } diff --git a/package.json b/package.json index b09c0260d..ec4716773 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "dependencies": { "@octokit/endpoint": "^6.0.0", "@octokit/request-error": "^2.0.0", - "@octokit/types": "^2.8.2", + "@octokit/types": "^2.11.1", "deprecation": "^2.0.0", "is-plain-object": "^3.0.0", "node-fetch": "^2.3.0", diff --git a/src/with-defaults.ts b/src/with-defaults.ts index 9c2447b48..69e04829e 100644 --- a/src/with-defaults.ts +++ b/src/with-defaults.ts @@ -43,5 +43,5 @@ export default function withDefaults( return Object.assign(newApi, { endpoint, defaults: withDefaults.bind(null, endpoint), - }); + }) as RequestInterface; }