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

Support type annotation for rest argument on babylon parser #133

Merged
merged 1 commit into from
Jan 12, 2017

Commits on Jan 11, 2017

  1. Support type annotation for rest argument on babylon parser

    This is working on the flow parser but not babylon
    
    ```js
    echo 'function f(...flags: Array<boolean>) {}' | ./bin/prettier.js --stdin
    function f(...flags: Array<boolean>) {}
    ```
    vjeux committed Jan 11, 2017
    Configuration menu
    Copy the full SHA
    35fb28b View commit details
    Browse the repository at this point in the history