Open
Description
This is something I see in the TS repo and DT often:
type Foo =
| A
| B
| C
;
type Bar =
& A
& B
& C
;
This form is convenient becuase it allows diffs to not break when the last line changes, and allows you to copy/move the last item without messing with the semicolon.
dprint curretly formats the above like:
type Foo =
| A
| B
| C;
type Bar =
& A
& B
& C;
Metadata
Metadata
Assignees
Labels
No labels