Skip to content

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.

3 participants