-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify the way line breaks are added when printing unions/intersectio…
…ns (#1047) Adds an option `compositeTypesSingleLineLimit` to control when unions/intersections are broken up onto multiple lines when printed. Simple unions/intersections will remain on one line. Default value is set to `5`. I took the liberty to always expand overloaded function intersections on multiple lines, as I believe they are best viewed that way, even if theres only 2 functions. Closes #963
- Loading branch information
1 parent
9843364
commit 1173e41
Showing
3 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters