Skip to content

doc comment forces multiline exceptions #7947

@tx46

Description

@tx46
  1. type exception Foo({name: string, msg: string}) and run formatter
  2. notice still single line
  3. add doc comment:
/** foo */
exception Foo({name: string, msg: string})

and run formatter
4. notice how formatter forces multiline:

/** foo */
exception Foo({
  name: string,
  msg: string,
})

see also #7946

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions