Skip to content

Commit dc83e8a

Browse files
chore: resolve oxlint warnings across web and SDK (#34540)
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
1 parent 77f8f2b commit dc83e8a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

sdks/nodejs-client/src/http/client.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ const jsonResponse = (
3939
...init,
4040
headers: {
4141
"content-type": "application/json",
42-
...(init.headers ?? {}),
42+
...init.headers,
4343
},
4444
});
4545

4646
const textResponse = (body: string, init: ResponseInit = {}): Response =>
4747
new Response(body, {
4848
...init,
4949
headers: {
50-
...(init.headers ?? {}),
50+
...init.headers,
5151
},
5252
});
5353

sdks/nodejs-client/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const jsonResponse = (body: unknown, init: ResponseInit = {}): Response =>
1414
...init,
1515
headers: {
1616
"content-type": "application/json",
17-
...(init.headers ?? {}),
17+
...init.headers,
1818
},
1919
});
2020

0 commit comments

Comments
 (0)