Skip to content

Commit

Permalink
fix: allow body type in RequestOptions to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and luwes committed Jan 25, 2024
1 parent b02346a commit 57bd3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ export type RequestOptions<Req = unknown | Record<string, unknown> | Readable> =
method?: HTTPMethod;
path?: string;
query?: Req | undefined;
body?: Req | undefined;
body?: Req | null | undefined;
headers?: Headers | undefined;

maxRetries?: number;
Expand Down

0 comments on commit 57bd3b3

Please sign in to comment.