Skip to content

Commit 2cf2888

Browse files
bump octokit/types (#700)
* WIP octokit/openapi updated * Use .js in import for RestEndpointMethodTypes * npm run update-endpoints:types --------- Co-authored-by: Keegan Campbell <me@kfcampbell.com>
1 parent 5782c3a commit 2cf2888

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"author": "Gregor Martynus (https://twitter.com/gr2m)",
2525
"license": "MIT",
2626
"dependencies": {
27-
"@octokit/types": "^12.3.0"
27+
"@octokit/types": "^12.4.0"
2828
},
2929
"devDependencies": {
3030
"@octokit/core": "^5.0.0",

scripts/update-endpoints/types.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ async function generateTypes() {
8787
const methodTypesSource = await format(
8888
[
8989
`import type { EndpointInterface, RequestInterface } from "@octokit/types";`,
90-
`import type { RestEndpointMethodTypes } from "./parameters-and-response-types";`,
90+
`import type { RestEndpointMethodTypes } from "./parameters-and-response-types.js";`,
9191
"",
9292
`export type RestEndpointMethods = {
9393
${RestEndpointMethodNamespaceTypes.join("\n")}

0 commit comments

Comments
 (0)