From 11f8e6302fde264f00be8db861d399b5f394c816 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Sat, 20 May 2023 19:02:20 +0200 Subject: [PATCH] fix: export type only `RestEndpointMethodTypes` (#299) Resolves #298 --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 46e74fb8..0b558c0c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ import { Octokit as Core } from "@octokit/core"; import { requestLog } from "@octokit/plugin-request-log"; import { paginateRest } from "@octokit/plugin-paginate-rest"; import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; -export { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; +export type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; import { VERSION } from "./version";