From d54313d8188c5d449fad0479cefba8ed82027521 Mon Sep 17 00:00:00 2001 From: Stainless Bot Date: Thu, 18 Jan 2024 21:59:22 +0000 Subject: [PATCH] fix: allow body type in RequestOptions to be null --- 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;