prettier/tests/flow_typeapp_call
Brian Ng d20d9c160e
Switch to @babel/parser (#4544)
We landed a change that added a new `InterpreterDirective` AST node type for hashbangs, and no longer add it as a comment/leadingComment.

Ref: https://github.com/babel/babel/pull/7928

I mimicked what we do in `@babel/generator` here, since I found it better than trying to add comments to the ast in `parser-include-shebang.js`). Definitely open to a better/cleaner option though!

Note: I'll follow this up with enabling tests for https://github.com/prettier/prettier/pull/4543 and https://github.com/prettier/prettier/pull/4540 once they land too.
2018-05-25 11:27:41 -05:00
..
__snapshots__ Add support for flow explicit type arguments (#4540) 2018-05-25 08:55:39 -05:00
jsfmt.spec.js Switch to @babel/parser (#4544) 2018-05-25 11:27:41 -05:00
typeapp_call.js Add support for flow explicit type arguments (#4540) 2018-05-25 08:55:39 -05:00