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

Fix for issue glayzzle#27 #28

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

Conversation

DanStevens
Copy link

Corrected return type for getProperties(), getConstants() and ge…tMethods() methods of the Class class as actual implementation returned keyed object rather than array.

Issue #27

…tMethods()` methods of the `Class` class as actual implementation returned keyed object rather than array.

[Issue glayzzle#27](glayzzle#27)
@coveralls
Copy link

Coverage Status

Coverage remained the same at 64.317% when pulling ef37f77 on DanStevens:issue-27 into c21cf90 on glayzzle:master.

getProperties(includeParents?: boolean): Property[];
getConstants(includeParents?: boolean): Constant[];
getMethods(includeParents?: boolean): Method[];
getProperties(includeParents?: boolean): {[name: string]: Property};
Copy link
Member

Choose a reason for hiding this comment

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

Better to keep arrays, and implement them on the function

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

Successfully merging this pull request may close these issues.

None yet

3 participants