do the thing

This commit is contained in:
Matej Voboril 2024-01-20 16:03:41 -06:00
parent 7aaa51b3eb
commit 722d349c3a
No known key found for this signature in database
GPG Key ID: CD484F5C05A92AA8

View File

@ -84,10 +84,11 @@ const items2 = new Items({
category: ["Warframes", "Gear", "Melee", "Primary", "Secondary", "Sentinels", "Misc", "Arch-Gun", "Arch-Melee"] category: ["Warframes", "Gear", "Melee", "Primary", "Secondary", "Sentinels", "Misc", "Arch-Gun", "Arch-Melee"]
}); });
items2.flatMap(item => item.components || []); const buildables = items2.filter(item => !!(item as Buildable).components);
// for (const item of items2) { for (const item of buildables as Array<MinItem & Buildable>) {
// console.log(item.category === "Warframes"); console.log(item.category === "Warframes");
// if (item.category === "Warframes") { if (item.category === "Warframes") {
// console.log(item); console.log(item);
// } item.components;
// } }
}