Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Sep 27, 2024
1 parent 983e91f commit a1ce864
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,7 @@ export interface PaginateInterface {
*/
<T>(
options: OctokitTypes.EndpointOptions,
): AsyncIterable<
OctokitTypes.OctokitResponse<PaginationResults<T>>
>;
): AsyncIterable<OctokitTypes.OctokitResponse<PaginationResults<T>>>;

// Using route string as first parameter

Expand Down Expand Up @@ -231,9 +229,7 @@ export interface PaginateInterface {
parameters?: R extends keyof PaginatingEndpoints
? PaginatingEndpoints[R]["parameters"]
: OctokitTypes.RequestParameters,
): AsyncIterable<
OctokitTypes.OctokitResponse<PaginationResults<T>>
>;
): AsyncIterable<OctokitTypes.OctokitResponse<PaginationResults<T>>>;

// Using request method as first parameter

Expand Down Expand Up @@ -414,9 +410,7 @@ export interface ComposePaginateInterface {
<T>(
octokit: Octokit,
options: OctokitTypes.EndpointOptions,
): AsyncIterable<
OctokitTypes.OctokitResponse<PaginationResults<T>>
>;
): AsyncIterable<OctokitTypes.OctokitResponse<PaginationResults<T>>>;

// Using route string as first parameter

Expand Down Expand Up @@ -452,9 +446,7 @@ export interface ComposePaginateInterface {
parameters?: R extends keyof PaginatingEndpoints
? PaginatingEndpoints[R]["parameters"]
: OctokitTypes.RequestParameters,
): AsyncIterable<
OctokitTypes.OctokitResponse<PaginationResults<T>>
>;
): AsyncIterable<OctokitTypes.OctokitResponse<PaginationResults<T>>>;

// Using request method as first parameter

Expand Down

0 comments on commit a1ce864

Please sign in to comment.