Skip to content

Commit

Permalink
fix: allow body type in RequestOptions to be null (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored Jan 18, 2024
1 parent f273530 commit c4f8a36
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 @@ -725,7 +725,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 c4f8a36

Please sign in to comment.