From 8ceddadefe11fed9e44e05d86f9e065fbfc46778 Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Tue, 5 Mar 2024 01:49:48 -0500 Subject: [PATCH] fix: body option must be cast to any --- templates/base/http-clients/ky-http-client.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/http-clients/ky-http-client.ejs b/templates/base/http-clients/ky-http-client.ejs index 6f824278..6c6a8c11 100644 --- a/templates/base/http-clients/ky-http-client.ejs +++ b/templates/base/http-clients/ky-http-client.ejs @@ -106,7 +106,7 @@ export class HttpClient { ...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}), }, searchParams: query, - body, + body: body as any, }); <% if (config.unwrapResponseData) { %>