From a04f7538e789324cebcea61476c1d745bbfc30cf Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:59:29 -0500 Subject: [PATCH] fix: allow body type in RequestOptions to be null (#71) --- src/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.ts b/src/core.ts index 091227c..934b0ee 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;