Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove usage of nonexistant
Enum.EnumType
I could be wrong about this, but I don't believe `Enum.EnumType` is currently defined anywhere within the RobloxTS typings as seen [in the search results](https://github.com/search?q=org%3Aroblox-ts+EnumType&type=code) or the [enums definition file](https://github.com/roblox-ts/types/blob/master/include/generated/enums.d.ts). It may have existed before, but I don't see it now. As such, I've removed it and replaced it with what I believe should achieve what the desired functionality was. This approach picks out all the `EnumItem` properties so it's more future-proof in-case more methods are added, but if you wanted to stay consistent the approach of specifically excluding `GetEnumItems` could also be taken as it is done [here](https://github.com/roblox-ts/types/blob/master/include/generated/enums.d.ts#L14). Alternatively, this approach could always be applied there! 😉 The `Enum.EnumType` type could also potentially just be re-added. The generic should still probably be constrained to an `Enum` though, not `{ Name: string }`.
- Loading branch information