fix: fix all eslint errors

This commit is contained in:
sam 2024-12-14 00:46:27 +01:00
parent 1cf2619393
commit 39a3098a99
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
19 changed files with 420 additions and 412 deletions

View file

@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
export default class ApiError {
raw?: RawApiError;
code: ErrorCode;

View file

@ -23,7 +23,7 @@ export type RequestArgs = {
/**
* The body for this request, which will be serialized to JSON. Should be a plain JS object.
*/
body?: any;
body?: unknown;
/**
* The fetch function to use. Should be passed in loader and action functions, but can be safely ignored for client-side requests.
*/