Skip to content

Commit

Permalink
fix: allow body type in RequestOptions to be null (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jan 18, 2024
1 parent 4d265d4 commit ee5625d
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 ee5625d

Please sign in to comment.