From 7269dcc2040810645a062f84f9775da701f9fded Mon Sep 17 00:00:00 2001 From: wolfy1339 <4595477+wolfy1339@users.noreply.github.com> Date: Tue, 7 Nov 2023 12:46:37 -0500 Subject: [PATCH] feat(types): make `OctokitResponse` an interface (#594) * fix(types): make `OctokitResponse` an interface * style: prettier --- src/OctokitResponse.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OctokitResponse.ts b/src/OctokitResponse.ts index 65453faf3..3a01d85a7 100644 --- a/src/OctokitResponse.ts +++ b/src/OctokitResponse.ts @@ -1,7 +1,7 @@ import type { ResponseHeaders } from "./ResponseHeaders"; import type { Url } from "./Url"; -export type OctokitResponse = { +export interface OctokitResponse { headers: ResponseHeaders; /** * http response code @@ -15,4 +15,4 @@ export type OctokitResponse = { * Response data as documented in the REST API reference documentation at https://docs.github.com/rest/reference */ data: T; -}; +}