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

A trailing comma is not permitted after the rest element #58

Closed
merunga opened this issue Jul 27, 2018 · 0 comments
Closed

A trailing comma is not permitted after the rest element #58

merunga opened this issue Jul 27, 2018 · 0 comments

Comments

@merunga
Copy link

merunga commented Jul 27, 2018

Trying to upgrade to version 1.0.0 I run into this error message: A trailing comma is not permitted after the rest element at this line.

Here's a reference to the pull request in babel discussing this issue. The explanation why this is not allowed is quite convincing:

The rationale for this is that the use case for trailing comma is that you can add something at the end without affecting the line above. E.g. for version control software. However, that is never the case here.

@Jacse Jacse closed this as completed in 84003f4 Jul 28, 2018
caglaruba pushed a commit to caglaruba/react-native-app-intro-slider that referenced this issue Aug 22, 2019
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