You've already forked tf2wikipricing
lint: force allow any
This commit is contained in:
@@ -188,7 +188,8 @@ export async function prepareSchema(): Promise<ItemSchema> {
|
||||
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<ItemSchema> {
|
||||
logError(error)
|
||||
}
|
||||
|
||||
(cacheItems as any)[defindex.toString()] = {
|
||||
cacheItems[defindex.toString()] = {
|
||||
"name": item['item_name'],
|
||||
"slot": item['item_slot'],
|
||||
"tradable": tradable,
|
||||
|
||||
Reference in New Issue
Block a user