We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab55b09 commit 973e7a9Copy full SHA for 973e7a9
1 file changed
packages/openapi-fetch/test/transform/transform.test.ts
@@ -13,7 +13,9 @@ test("transforms date strings to Date objects", async () => {
13
{
14
transform: {
15
response: (method, path, data) => {
16
- if (!data || typeof data !== "object") return data;
+ if (!data || typeof data !== "object") {
17
+ return data
18
+ };
19
20
const result = { ...data } as PostResponse;
21
0 commit comments