Skip to content

Commit

Permalink
fix: bump version of @octokit/types, update template to use type im…
Browse files Browse the repository at this point in the history
…ports (#647)

Co-authored-by: wolfy1339 <webmaster@wolfy1339.com>
  • Loading branch information
octokitbot and wolfy1339 committed Jun 10, 2023
1 parent d53b9e9 commit 4308c1c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/types": "^9.3.0"
"@octokit/types": "^9.3.1"
},
"devDependencies": {
"@gimenete/type-writer": "^0.1.5",
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-endpoints/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ async function generateRoutes() {
writeFileSync(
ROUTES_PATH,
prettier.format(
`import { EndpointsDefaultsAndDecorations } from "../types";
`import type { EndpointsDefaultsAndDecorations } from "../types";
const Endpoints: EndpointsDefaultsAndDecorations = ${JSON.stringify(
sortKeys(newRoutes, { deep: true })
)}
Expand Down

0 comments on commit 4308c1c

Please sign in to comment.