Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix typing with eslint

Smaug67391bc4318a94a0
diff --git a/frontend/app/stores/_utils.ts b/frontend/app/stores/_utils.ts
index 57a9e4ab..3cb70ae9 100644
--- a/frontend/app/stores/_utils.ts
+++ b/frontend/app/stores/_utils.ts
@@ -9,11 +9,11 @@ export interface FetchOptions {
}
let is_getting_new_token = false;
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
const requestQueue: {
route: string;
method: string;
body: object;
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
resolve: (value: APIResult<any> | PromiseLike<APIResult<any>>) => void;
reject: (reason?: object) => void;
}[] = [];