From d4b2fdeff08c449f5da3ac4427c3686c4699da8d Mon Sep 17 00:00:00 2001 From: xenticore Date: Wed, 30 Apr 2025 18:32:25 -0400 Subject: [PATCH] lint: force allow any --- src/content/schemaService.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/content/schemaService.ts b/src/content/schemaService.ts index 8404070..47b00d4 100644 --- a/src/content/schemaService.ts +++ b/src/content/schemaService.ts @@ -188,7 +188,8 @@ export async function prepareSchema(): Promise { if (response.ok) { await setStorageValue(storage_lastUpdateTime, new Date().getTime()); - const cacheItems = {} + // eslint-disable-next-line @typescript-eslint/no-explicit-any + const cacheItems: any = {} const responseItems: SchemaResponseItem[] = await response.json() // We want to keep the keys `defindex`, `item_name`, and `attributes` @@ -217,7 +218,7 @@ export async function prepareSchema(): Promise { logError(error) } - (cacheItems as any)[defindex.toString()] = { + cacheItems[defindex.toString()] = { "name": item['item_name'], "slot": item['item_slot'], "tradable": tradable,