From 5d8134a1da14870db62767d944f846d7aaced935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?gemsvid=C3=B8?= Date: Sat, 10 Sep 2022 22:44:54 -0700 Subject: [PATCH] fix runeify? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: gemsvidø --- cheatGUI/src/utils/hackify.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cheatGUI/src/utils/hackify.ts b/cheatGUI/src/utils/hackify.ts index b61bc1e..b965509 100644 --- a/cheatGUI/src/utils/hackify.ts +++ b/cheatGUI/src/utils/hackify.ts @@ -27,13 +27,13 @@ export const itemify = (item: Item[], amount: number) => // Convert rune to Rune ID map // @ts-expect-error -export const runeify = ((item, amount) => { +export const runeify = (item, amount) => // @ts-expect-error item.map(x => ({ ID: x.ID, quantity: amount // @ts-expect-error - })).filter(v => v !== undefined) + }).filter(v => v !== undefined) }); @@ -107,4 +107,4 @@ export const getPet = async (text: string): Promise => { text: text }); return pet.value; -}; \ No newline at end of file +};