Skip to content

Commit

Permalink
fix: resolve issues with types (#300)
Browse files Browse the repository at this point in the history
* fix: resolve issues with types

* fix: correct blockLoot, entityLoot value type
  • Loading branch information
Eejit43 authored Aug 5, 2023
1 parent 095dcf8 commit 8fa2f1e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions typings/index-template.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export interface IndexedData {

attributes: { [resource: string]: string }
attributesByName: { [name: string]: string }
attributesArray: []
attributesArray: Attribute[]

commands: {}

Expand All @@ -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 }
Expand Down

0 comments on commit 8fa2f1e

Please sign in to comment.