Skip to content

Commit 8ceddad

Browse files
committed
fix: body option must be cast to any
1 parent b3310ef commit 8ceddad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/http-clients/ky-http-client.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class HttpClient<SecurityDataType = unknown> {
106106
...(type && type !== ContentType.FormData ? { "Content-Type": type } : {}),
107107
},
108108
searchParams: query,
109-
body,
109+
body: body as any,
110110
});
111111

112112
<% if (config.unwrapResponseData) { %>

0 commit comments

Comments
 (0)