From ee5625d278d992b3d28a2b8559663e5e188d293f Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:59:59 -0500 Subject: [PATCH] fix: allow body type in RequestOptions to be null (#327) --- src/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.ts b/src/core.ts index 47a04fe..0ac47ac 100644 --- a/src/core.ts +++ b/src/core.ts @@ -716,7 +716,7 @@ export type RequestOptions | Readable> = method?: HTTPMethod; path?: string; query?: Req | undefined; - body?: Req | undefined; + body?: Req | null | undefined; headers?: Headers | undefined; maxRetries?: number;