Skip to content

Allow begining pipe in union types #897

Closed
@alexandrebodin

Description

@alexandrebodin

Hi

Everything was said in the titile. I would be great to be able to write:

union unionType = 
  | TypeA
  | Type B
  | Type C

instead of

union unionType = 
    TypeA
  | Type B
  | Type C

This would be great for prettier / graphql to make cleaner formatting. And overall go the same wayas Flow and Elm for example :)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions