Skip to content

Commit

Permalink
fix: explicitly mark type imports and exports (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Jun 14, 2023
1 parent 84f9c72 commit b943e50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/paginating-endpoints.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {
PaginatingEndpoints,
type PaginatingEndpoints,
paginatingEndpoints,
} from "./generated/paginating-endpoints";

Expand Down
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { Octokit } from "@octokit/core";
import * as OctokitTypes from "@octokit/types";

export {
export type {
EndpointOptions,
RequestInterface,
OctokitResponse,
RequestParameters,
Route,
} from "@octokit/types";

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

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

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

0 comments on commit b943e50

Please sign in to comment.