Skip to content

Typescript: Definite flag formatting issue #4051

@ericanderson

Description

@ericanderson

Prettier 1.11.0-rc.1
Playground link

# Options (if any):
--single-quote

Input:

foo!.bar().baz().what();

Output:

foo
  !.bar()
  .baz()
  .what();

Expected behavior:

foo!
  .bar()
  .baz()
  .what();

Metadata

Metadata

Assignees

Labels

locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.status:has prIssues with an accompanying pull request. These issues will probably be fixed soon!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions