From b943e505d43382fb69517aef88f92d1e9c96a66f Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Wed, 14 Jun 2023 19:47:58 -0400 Subject: [PATCH] fix: explicitly mark type imports and exports (#540) --- src/paginating-endpoints.ts | 2 +- src/types.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/paginating-endpoints.ts b/src/paginating-endpoints.ts index 6ada1b1e..531614e2 100644 --- a/src/paginating-endpoints.ts +++ b/src/paginating-endpoints.ts @@ -1,5 +1,5 @@ import { - PaginatingEndpoints, + type PaginatingEndpoints, paginatingEndpoints, } from "./generated/paginating-endpoints"; diff --git a/src/types.ts b/src/types.ts index f71b4a74..8e018f7d 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,7 +1,7 @@ import { Octokit } from "@octokit/core"; import * as OctokitTypes from "@octokit/types"; -export { +export type { EndpointOptions, RequestInterface, OctokitResponse, @@ -9,9 +9,9 @@ export { 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 = {