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

Comments not parsed properly (repeated) for multipe named exports #69

Closed
ekhaled opened this issue Aug 25, 2021 · 0 comments · Fixed by #70
Closed

Comments not parsed properly (repeated) for multipe named exports #69

ekhaled opened this issue Aug 25, 2021 · 0 comments · Fixed by #70

Comments

@ekhaled
Copy link
Contributor

ekhaled commented Aug 25, 2021

<script>
    /* The `a` variable description */
    let a = 1,
      /* The `b` variable description */
      b = 'Test',
      /* The `c` variable description */
      c = 'TestC';
</script>

Results in:

{
 //...
 "data":[
   {
      //...
      "description": "The `a` variable description",
      "name": "a",
      "kind": "let",
      //...
   },
   {
      //...
      "description": "The `a` variable description",
      "name": "b",
      "kind": "let",
      //...
   },
   {
      //...
      "description": "The `a` variable description",
      "name": "c",
      "kind": "let",
      //...
   },
 ]
}
alexprey added a commit that referenced this issue Aug 27, 2021
fix #69: comments parsing fix for multiple named exports in single statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant