From fab8f0588bb282686599802f9c8e827b874272db Mon Sep 17 00:00:00 2001 From: christopher-buss Date: Thu, 19 Sep 2024 11:45:21 +0100 Subject: [PATCH] fix: asset product info type --- include/roblox.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/roblox.d.ts b/include/roblox.d.ts index a1abb5f07..a3b86f717 100644 --- a/include/roblox.d.ts +++ b/include/roblox.d.ts @@ -190,7 +190,7 @@ interface ProductInfo { interface AssetProductInfo extends ProductInfo { /** Describes whether the asset is a User Product, Developer Product, or Game Pass */ - ProductType: "User Product"; + ProductType?: "Collectible Item" | "User Product"; /** If InfoType was Asset, this is the ID of the given asset. */ AssetId: number; /** The [type of asset](https://developer.roblox.com/articles/Asset-types) (e.g. place, model, shirt). In TypeScript, you should compare this value to a member of the `AssetTypeId` const enum. */