From 0f3e8e53724d68ba1586c2b5e413ad075441396b Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Thu, 1 May 2025 11:40:21 +0200 Subject: [PATCH] be explicit about the type --- src/services/inventoryService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts index 46c7c9ee..72462850 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -333,7 +333,7 @@ export const addItem = async ( premiumPurchase: boolean = false, seed?: bigint, targetFingerprint?: string, - exactQuantity = false + exactQuantity: boolean = false ): Promise => { // Bundles are technically StoreItems but a) they don't have a normal counterpart, and b) they are used in non-StoreItem contexts, e.g. email attachments. if (typeName in ExportBundles) {