WFCD / warframe-items

📘 Get all Warframe items directly from Warframe's API. No more messy wikia scraping.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Item does not guarantee that 'uniqueName' and 'name' properties are defined

Sainan opened this issue · comments

This is an issue with the definitions in index.d.ts.

Because Arcane extends Partial, the guarantees that 'uniqueName' and 'name' are never undefined is removed.

This could be fixed by not using Partial, or by adding MinimalItem or BaseItem to the extends list, but I'm not familiar with the specifics of this project, so some further insights would be appreciated.