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