lint: force allow any

This commit is contained in:
xenticore
2025-04-30 18:32:25 -04:00
parent 39ad61b768
commit d4b2fdeff0

View File

@@ -188,7 +188,8 @@ export async function prepareSchema(): Promise<ItemSchema> {
if (response.ok) { if (response.ok) {
await setStorageValue(storage_lastUpdateTime, new Date().getTime()); 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() const responseItems: SchemaResponseItem[] = await response.json()
// We want to keep the keys `defindex`, `item_name`, and `attributes` // We want to keep the keys `defindex`, `item_name`, and `attributes`
@@ -217,7 +218,7 @@ export async function prepareSchema(): Promise<ItemSchema> {
logError(error) logError(error)
} }
(cacheItems as any)[defindex.toString()] = { cacheItems[defindex.toString()] = {
"name": item['item_name'], "name": item['item_name'],
"slot": item['item_slot'], "slot": item['item_slot'],
"tradable": tradable, "tradable": tradable,