Skip to content

Commit 4308c1c

Browse files
fix: bump version of @octokit/types, update template to use type imports (#647)
Co-authored-by: wolfy1339 <webmaster@wolfy1339.com>
1 parent d53b9e9 commit 4308c1c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

package-lock.json

Lines changed: 7 additions & 7 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": "^9.3.0"
27+
"@octokit/types": "^9.3.1"
2828
},
2929
"devDependencies": {
3030
"@gimenete/type-writer": "^0.1.5",

scripts/update-endpoints/code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async function generateRoutes() {
119119
writeFileSync(
120120
ROUTES_PATH,
121121
prettier.format(
122-
`import { EndpointsDefaultsAndDecorations } from "../types";
122+
`import type { EndpointsDefaultsAndDecorations } from "../types";
123123
const Endpoints: EndpointsDefaultsAndDecorations = ${JSON.stringify(
124124
sortKeys(newRoutes, { deep: true })
125125
)}

0 commit comments

Comments
 (0)