diff --git a/src/index.ts b/src/index.ts index 9acaffc..a488e7b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,5 +5,4 @@ export { type FetchRawFileOptions } from "./api/rawFile.ts"; export * from "./class/GithubClient.ts"; -export type { RequestConfig } from "./types.ts"; - +export * from "./types.ts"; diff --git a/src/types.ts b/src/types.ts index be80925..6ee28de 100644 --- a/src/types.ts +++ b/src/types.ts @@ -44,3 +44,5 @@ export type UserGist = Endpoints["GET /users/{username}/gists"]["response"]["dat export type UserFollower = Endpoints["GET /users/{username}/followers"]["response"]["data"][number]; export type UserFollowing = Endpoints["GET /users/{username}/following"]["response"]["data"][number]; export type UserStarred = Endpoints["GET /users/{username}/starred"]["response"]["data"][number]; + +export type { Endpoints };