Skip to content

Commit

Permalink
fix: asset product info type
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-buss committed Sep 19, 2024
1 parent b953bf7 commit fab8f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/roblox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit fab8f05

Please sign in to comment.