Skip to content

Commit

Permalink
Fix default vars
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosGamero committed Jul 11, 2024
1 parent 3f7ceb6 commit 640fb53
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ export function sendPost<
ResponseBody,
RequestBodySchema extends z.Schema | undefined = undefined,
RequestQuerySchema extends z.Schema | undefined = undefined,
IsNonJSONResponseExpected extends boolean = true,
IsEmptyResponseExpected extends boolean = false,
IsNonJSONResponseExpected extends boolean = false,
IsEmptyResponseExpected extends boolean = true,
>(
wretch: T,
params: ResourceChangeParams<
Expand All @@ -195,8 +195,8 @@ export function sendPut<
ResponseBody,
RequestBodySchema extends z.Schema | undefined = undefined,
RequestQuerySchema extends z.Schema | undefined = undefined,
IsNonJSONResponseExpected extends boolean = true,
IsEmptyResponseExpected extends boolean = false,
IsNonJSONResponseExpected extends boolean = false,
IsEmptyResponseExpected extends boolean = true,
>(
wretch: T,
params: ResourceChangeParams<
Expand All @@ -217,8 +217,8 @@ export function sendPatch<
ResponseBody,
RequestBodySchema extends z.Schema | undefined = undefined,
RequestQuerySchema extends z.Schema | undefined = undefined,
IsNonJSONResponseExpected extends boolean = true,
IsEmptyResponseExpected extends boolean = false,
IsNonJSONResponseExpected extends boolean = false,
IsEmptyResponseExpected extends boolean = true,
>(
wretch: T,
params: ResourceChangeParams<
Expand All @@ -238,7 +238,7 @@ export function sendDelete<
T extends WretchInstance,
ResponseBody,
RequestQuerySchema extends z.Schema | undefined = undefined,
IsNonJSONResponseExpected extends boolean = true,
IsNonJSONResponseExpected extends boolean = false,
IsEmptyResponseExpected extends boolean = true,
>(
wretch: T,
Expand Down

0 comments on commit 640fb53

Please sign in to comment.