Commit Graph

14 Commits (master)

Author SHA1 Message Date
Georgii Dolzhykov ab598e6e23
tests: rename duplicate bindings to be ready for #6400 (#6662) 2019-10-15 18:27:39 +03:00
Kevin Gibbons 01dc7aec65 fix: more readable parentheses for new-call (#6412) 2019-08-28 13:50:24 +03:00
Kevin Gibbons c03fcfedb1 Address parentheses bugs for edge cases with call and new (#6148) 2019-05-24 11:09:17 -03:00
Georgii Dolzhykov b3adb46ba9 Keep parens around non-null assertions for new-expressions only (#6140) 2019-05-22 19:01:47 -03:00
Sosuke Suzuki 3b3c411642 TypeScript: Keep parentheses around a function called with non-null assertion. (#6136) 2019-05-19 13:15:02 -03:00
Ika 4af3dd4b07
test: improve snapshots (#5521)
- before
  ```
  ${input}${"~".repeat(printWidth)}
  ${output}
  ```
- after
  ```
  ===options===
  ${options}
  ${" ".repeat(printWidth)}| printWidth
  ====input====
  ${input}
  ===output====
  ${output}
  =============
  ```
2018-11-25 16:21:14 +08:00
Simen Bekkhus 51b7c02e12 Upgrade jest to 22 (#4782)
* chore: upgrade Jest

* chore: update snapshots

* chore: lock down babel dependency using invalid syntax

* 2 args to test.skip

* use jest 22 for now

* Revert "2 args to test.skip"

This reverts commit 691fdc3f99e320f2303958f2b503f7b4c93fa455.

* remove snapshot name from matcher

* fix standalone tests skips
2018-07-03 03:06:29 -03:00
Eric Anderson efd5bde713 Fix(typescript) non-null identifier same line in chain (#4052) 2018-02-26 15:12:03 -03:00
Eric Anderson 051a488bbd fix(typescript): properly chain when there is a TSNonNullExpression (#4005)
* fix(typescript): properly chain when there is a TSNonNullExpression

* No need to pass args

* PR feedback

* Fix lint
2018-02-20 12:37:11 -03:00
Lucas Azzola 417c50aa84
Keep parens around Unary and Update Expressions (#3989) 2018-02-18 00:22:35 +11:00
Lucas Duailibe 69f05e42c9
Consider TSNonNullExpression part of member chain (#3442) 2017-12-10 02:41:53 -02:00
Lucas Duailibe f119d4a90f
Change run_spec to have explicit parser list (#3356) 2017-11-30 03:31:52 -03:00
Lucas Azzola a2328edced TypeScript: keep parens around with yield/await non-null assertion, fixes #2137 (#2149) 2017-06-15 09:34:12 +10:00
Christopher Chedeau 5f73ba29ed Add parens for expressions inside TSNonNullExpression (#1748)
Fixes #1695
2017-05-26 12:03:27 -07:00