Luau type for CatalogSearchParms.AssetTypes is wrong when typechecking

Device Info: Windows 11, 22H2
Date First Experienced: 10/8/2023
Date Last Experienced: 10/10/2023

Reproduction Steps:

  1. Open the repro place file in Roblox Studio
  2. Open the Script named “Repro” in ServerScriptStorage
  3. Line 16 contains a warning, despite being the right type

Expected Behavior: There should not be a warning as the type is correct
Actual Behavior: There is warnings, as the type of CatalogSearchParms.AssetTypes is {Enum.AssetType} rather than {Enum.AvatarAssetType}.

Pictures showing the issue:


image

ReproFile.rbxl (53.5 KB)

We’ve filed a ticket into our internal database for this issue, and we will update you when we have further information!

Thanks for the report!