Skip to content

Commit

Permalink
style: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Feb 9, 2024
1 parent 2f09fdc commit 9fb69b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/RequestInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import type { Endpoints, Simplify } from "./generated/Endpoints";
* Parameters that can be passed into `request(route, parameters)` or `endpoint(route, parameters)` methods.
* This type represents the options when `request.parseSuccessResponseBody` is set to `false`.
*/
type StreamBodyOption = Simplify<RequestParameters & { request: { parseSuccessResponseBody: false }}>
type StreamBodyOption = Simplify<
RequestParameters & { request: { parseSuccessResponseBody: false } }
>;
export interface RequestInterface<D extends object = object> {
/**
* Sends a request based on endpoint options
Expand All @@ -21,7 +23,6 @@ export interface RequestInterface<D extends object = object> {
? { url?: string }
: { url: string }),
): Promise<OctokitResponse<T>>;


/**
* Sends a request based on endpoint options
Expand All @@ -48,7 +49,7 @@ export interface RequestInterface<D extends object = object> {
): R extends keyof Endpoints
? Promise<Endpoints[R]["response"]>
: Promise<OctokitResponse<ReadableStream<any>>>;

/**
* Sends a request based on endpoint options
*
Expand Down

0 comments on commit 9fb69b0

Please sign in to comment.