Skip to content

Commit 973e7a9

Browse files
committed
fix(transform.test): lint
1 parent ab55b09 commit 973e7a9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/openapi-fetch/test/transform/transform.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ test("transforms date strings to Date objects", async () => {
1313
{
1414
transform: {
1515
response: (method, path, data) => {
16-
if (!data || typeof data !== "object") return data;
16+
if (!data || typeof data !== "object") {
17+
return data
18+
};
1719

1820
const result = { ...data } as PostResponse;
1921

0 commit comments

Comments
 (0)