From 8fa2f1e4c43e4cd8cc87dfe2845bcf3f46c354f4 Mon Sep 17 00:00:00 2001 From: Eejit <76887639+Eejit43@users.noreply.github.com> Date: Sat, 5 Aug 2023 09:34:33 -0400 Subject: [PATCH] fix: resolve issues with types (#300) * fix: resolve issues with types * fix: correct blockLoot, entityLoot value type --- typings/index-template.d.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/typings/index-template.d.ts b/typings/index-template.d.ts index 818c3f89..d1d19c12 100644 --- a/typings/index-template.d.ts +++ b/typings/index-template.d.ts @@ -167,7 +167,7 @@ export interface IndexedData { attributes: { [resource: string]: string } attributesByName: { [name: string]: string } - attributesArray: [] + attributesArray: Attribute[] commands: {} @@ -177,11 +177,9 @@ export interface IndexedData { language: { [key: string]: string } - blockLoot: { [id: number]: BlockLoot } - blockLootByName: { [name: string]: BlockLoot } + blockLoot: { [name: string]: BlockLootEntry } - entityLoot: { [id: number]: EntityLoot } - entityLootByName: { [name: string]: EntityLoot } + entityLoot: { [name: string]: EntityLootEntry } mapIcons: { [id: number]: MapIcon } mapIconsByName: { [name: string]: MapIcon }