Skip to content

Commit b943e50

Browse files
authoredJun 14, 2023
fix: explicitly mark type imports and exports (#540)
1 parent 84f9c72 commit b943e50

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎src/paginating-endpoints.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
PaginatingEndpoints,
2+
type PaginatingEndpoints,
33
paginatingEndpoints,
44
} from "./generated/paginating-endpoints";
55

‎src/types.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import { Octokit } from "@octokit/core";
22
import * as OctokitTypes from "@octokit/types";
33

4-
export {
4+
export type {
55
EndpointOptions,
66
RequestInterface,
77
OctokitResponse,
88
RequestParameters,
99
Route,
1010
} from "@octokit/types";
1111

12-
export { PaginatingEndpoints } from "./generated/paginating-endpoints";
12+
export type { PaginatingEndpoints } from "./generated/paginating-endpoints";
1313

14-
import { PaginatingEndpoints } from "./generated/paginating-endpoints";
14+
import type { PaginatingEndpoints } from "./generated/paginating-endpoints";
1515

1616
// // https://stackoverflow.com/a/52991061/206879
1717
// type RequiredKeys<T> = {

0 commit comments

Comments
 (0)
Please sign in to comment.