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

Cannot parse comments #5

Open
mcshaz opened this issue Jun 12, 2019 · 0 comments
Open

Cannot parse comments #5

mcshaz opened this issue Jun 12, 2019 · 0 comments

Comments

@mcshaz
Copy link

mcshaz commented Jun 12, 2019

Thank you very much for creating this tool!
while below is not valid JSON, it is valid ECMAscript

{
  data(): return {
    propA: 1,
    propB: 2,
    // end of numeric props
    propC ..

Error Info

Unexpected token, expected ,

in fact an unexpected token error is raised for any comment - even at the end of a line within a method

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

No branches or pull requests

1 participant