more lint fixes

This commit is contained in:
Boki 2025-06-20 08:54:56 -04:00
parent cc014de397
commit 3e545cdaa9
8 changed files with 29 additions and 38 deletions

View file

@ -23,7 +23,7 @@ export class HttpClient {
async post<T = any>(
url: string,
data?: any,
data?: unknown,
config: Omit<RequestConfig, 'method' | 'url' | 'data'> = {}
): Promise<HttpResponse<T>> {
return this.request<T>({ ...config, method: 'POST', url, data });
@ -31,7 +31,7 @@ export class HttpClient {
async put<T = any>(
url: string,
data?: any,
data?: unknown,
config: Omit<RequestConfig, 'method' | 'url' | 'data'> = {}
): Promise<HttpResponse<T>> {
return this.request<T>({ ...config, method: 'PUT', url, data });
@ -46,7 +46,7 @@ export class HttpClient {
async patch<T = any>(
url: string,
data?: any,
data?: unknown,
config: Omit<RequestConfig, 'method' | 'url' | 'data'> = {}
): Promise<HttpResponse<T>> {
return this.request<T>({ ...config, method: 'PATCH', url, data });