prettier/tests/arrows
Lucas Azzola d62d1c5c56 Preserve parens with keyof, enforce parens with arrows with type params (#2503)
* Force parens around argument of simple arrow function if type annotation is present

* Preserve parens inside keyof operator
2017-07-17 13:32:33 +02:00
..
__snapshots__ Preserve parens with keyof, enforce parens with arrows with type params (#2503) 2017-07-17 13:32:33 +02:00
arrow_function_expression.js fix(typescript): handle ObjectPattern instead of ObjectExpression inside BinaryExpression, fixes #2237 (#2238) 2017-06-23 07:53:42 -07:00
block_like.js Move tests around (#454) 2017-01-24 14:35:37 -08:00
call.js Use expandLast for nested arrow functions (#1720) 2017-05-24 18:19:07 -07:00
comment.js Fix unstable arrow comments (#2262) 2017-06-25 12:30:09 +10:00
currying.js Add support for currying (#1066) 2017-03-22 13:33:28 -07:00
jsfmt.spec.js fix(typescript): handle ObjectPattern instead of ObjectExpression inside BinaryExpression, fixes #2237 (#2238) 2017-06-23 07:53:42 -07:00
long-call-no-args.js Fix comma when an arrow function with no arguments breaks (#210) 2017-01-14 23:55:38 -05:00
long-contents.js Simplify arrow functions that use blocks (fixes #268) (#496) 2017-01-27 13:39:17 -05:00
short_body.js Put short body of arrow functions on the same line (#829) 2017-02-27 17:18:43 -05:00
type_params.js Preserve parens with keyof, enforce parens with arrows with type params (#2503) 2017-07-17 13:32:33 +02:00