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,