--!strict
function f(enum: Enum)
local v = enum:GetEnumItems()
--> Key 'GetEnumItems' not found in table 'Enum'
end
Enum.GetEnumItems
should be a (Enum)->{EnumItem}
. To be clear, this bug is with the generic Enum
type. Each specific enum type does have a GetEnumItems
function in its type description.