Files
test-repo/tests/flow_function_parentheses/jsfmt.spec.js
T
Lucas Duailibe 51744e1008 Print parens in FunctionTypeAnnotation when arrowParens is "always" (#3616)
* add test case

* print parens in function type annotation
2017-12-31 16:01:21 +01:00

4 lines
179 B
JavaScript

run_spec(__dirname, ["flow", "babylon"]);
run_spec(__dirname, ["flow", "babylon"], { trailingComma: "all" });
run_spec(__dirname, ["flow", "babylon"], { arrowParens: "always" });