Closed DiscordGregory closed 2 years ago
iirc this is working as intended, it's supposed to accept either an Enum.TransmogCollectionType
enum or a number. It doesn't give any warnings for me at least...
Sorry it took me so long to respond, I didn't get a notification you replied :(
hm thanks, that popped the warning. I will add the number type to enums, something like
---@param category TransmogCollectionType|number
---@return number count
function C_TransmogCollection.GetCategoryCollectedCount(category) end
The function takes a single parameter of category which is Enum.TransmogCollectionType, this type is a number but in the extension it has the type as TransmogCollectionType. There are a few functions with the TransmogCollectionType as a parameter type