Skip to content

Commit c0ba0d6

Browse files
committed
fix(typescript): octokit.hook.* callback options type fix
1 parent f485e9c commit c0ba0d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export type OctokitPlugin = (
5353

5454
export type Hooks = {
5555
request: {
56-
Options: OctokitTypes.EndpointOptions;
56+
Options: Required<OctokitTypes.EndpointDefaults>;
5757
Result: OctokitTypes.OctokitResponse<any>;
5858
Error: RequestError | Error;
5959
};

0 commit comments

Comments
 (0)