Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added return types #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Added return types #98

wants to merge 1 commit into from

Conversation

leoyulee
Copy link

@leoyulee leoyulee commented Jun 7, 2022

Added return types so intellisense can read and provide the types

@Sleitnick Sleitnick self-assigned this Aug 11, 2022
@Sleitnick Sleitnick added the enhancement New feature or request label Aug 11, 2022
@@ -90,7 +90,7 @@ end
@return {EnumItem}
@since v2.0.0
]=]
function EnumList:GetEnumItems()
function EnumList:GetEnumItems(): Array<EnumItem>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that Luau has types, wouldn't {EnumItem} be more correct than Array<EnumItem>?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants