diff --git a/src/types.ts b/src/types.ts index 97f0f0e..4e0e5f6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,6 +1,6 @@ import type { RequestOptions, OctokitResponse } from "@octokit/types"; export type RequestErrorOptions = { - response: OctokitResponse; + response?: OctokitResponse; request: RequestOptions; };