Skip to content

Commit

Permalink
fix(types): response can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Feb 17, 2024
1 parent c3be04d commit b44e6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { RequestOptions, OctokitResponse } from "@octokit/types";

export type RequestErrorOptions = {
response: OctokitResponse<unknown>;
response?: OctokitResponse<unknown>;
request: RequestOptions;
};

0 comments on commit b44e6d1

Please sign in to comment.