style: some minor style improvements

This commit is contained in:
2026-03-06 20:53:05 +02:00
parent 10661f3127
commit 437ae2c16c
10 changed files with 44 additions and 29 deletions

View File

@@ -49,7 +49,7 @@ export class Client {
const timeoutId = setTimeout(() => controller.abort(), timeout);
const requestInit: RequestInit = {
method: method || (json ? "POST" : "GET"),
method: method ?? (json ? "POST" : "GET"),
headers,
signal: controller.signal,
};