Skip to content

Commit

Permalink
Merge pull request #1022 from Jannchie/patch-2
Browse files Browse the repository at this point in the history
fix(types): prevent type error reporting when request body is an object defined by an interface
  • Loading branch information
mrlubos authored Nov 11, 2024
2 parents a555e66 + ebdaa44 commit 7f36cfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/client-fetch/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ export interface Config<ThrowOnError extends boolean = boolean>
| Record<string, unknown>
| Array<Record<string, unknown>>
| Array<unknown>
| number;
| number
| unknown;
/**
* A function for serializing request body parameter. By default,
* {@link JSON.stringify()} will be used.
Expand Down

0 comments on commit 7f36cfb

Please sign in to comment.