prettier/tests/typescript/conformance
Georgii Dolzhykov 977b828666 Get rid of TSParenthesizedType nodes before proceeding with formatting (#6605)
* get rid of TSParenthesizedType nodes before proceeding with formatting

* fix parens for TSIndexedAccessType, TSFunctionType, TSConditionalType

fixes #6603

* workaround edge cases with one-item unions and intersections

* fix parens for TSInferType

* fix parens for rest elements in tuple types

* refactoring

* fix function types in conditional types

* move tests for rest and optional tuple elements

* fix comment issues

* tests for unions and intersections

* add parens around multiline unions in tuple

* move the parens check for TS nodes closer to the one for Flow nodes

* update CHANGELOG.unreleased.md

* remove dead code

* fix parens for TSConstructorType

* better wording in CHANGELOG.unreleased.md
2019-10-14 15:00:21 +03:00
..
ambient fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
classes fix: update typescript and typescript-estree to latest (#5728) 2019-01-12 11:10:52 +08:00
comments test: improve snapshots (#5521) 2018-11-25 16:21:14 +08:00
declarationEmit/typePredicates fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
es6 fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
expressions fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
interfaces/interfaceDeclarations fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
internalModules/importDeclarations fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
parser/ecmascript5/Statements fix: get rid of CRLF (#5494) 2018-12-08 18:28:29 +08:00
types Get rid of TSParenthesizedType nodes before proceeding with formatting (#6605) 2019-10-14 15:00:21 +03:00