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

Adds support for props defined with array of strings #26

Closed
wants to merge 5 commits into from
Closed

Adds support for props defined with array of strings #26

wants to merge 5 commits into from

Conversation

tereshhhchenko
Copy link

@tereshhhchenko tereshhhchenko commented May 27, 2018

demsking and others added 3 commits November 4, 2017 09:00
- Fix unCamelcase parsing of entry with numbers #15
- Fix filtering of ignoredVisibilities #18
- Add support of Spread Operator #7
@demsking demsking changed the base branch from master to develop May 28, 2018 04:52
@demsking demsking changed the base branch from develop to master May 28, 2018 04:59
@coveralls
Copy link

coveralls commented May 28, 2018

Coverage Status

Coverage increased (+0.005%) to 99.822% when pulling bb9f720 on HelloDeadline:master into 223c0f5 on vuedoc:develop.

@demsking
Copy link
Member

Thank you for your contribution.

@demsking
Copy link
Member

Could you add a test to cover the line 128 of the parser.js file please?

@demsking
Copy link
Member

Could you also create your PR to the develop branch please?

@tereshhhchenko
Copy link
Author

@demsking Sure, I'll add test and change target branch to develop as soon as I have some free time (hopefully today). Thanks for quick response!

@tereshhhchenko tereshhhchenko changed the base branch from master to develop May 28, 2018 22:46
@tereshhhchenko
Copy link
Author

@demsking I think we are good to proceed. Don't hesitate if you think there is something else to improve.

.catch((err) => { throw err })

it('should list props from string array', () => {
const propsNames = component.props.map((item) => item.name)
Copy link
Member

Choose a reason for hiding this comment

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

What about item.type? I think that item.type should be equal to Any in this case. What do you think?

@demsking demsking self-assigned this May 30, 2018
demsking added a commit that referenced this pull request Jun 2, 2018
@demsking demsking closed this Jun 2, 2018
@tereshhhchenko
Copy link
Author

You are right.
But I think props types should be documented in a similar way for each notation.
I'll open new PR next week with fixies for that one, if you okay with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants