-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
@decorators on class are still being placed on separate line #5360
Copy link
Copy link
Closed
Labels
lang:javascriptIssues affecting JSIssues affecting JSlang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:wontfixThis will not be worked onThis will not be worked on
Metadata
Metadata
Assignees
Labels
lang:javascriptIssues affecting JSIssues affecting JSlang:typescriptIssues affecting TypeScript-specific constructs (not general JS issues)Issues affecting TypeScript-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:wontfixThis will not be worked onThis will not be worked on
Prettier 1.15.1
Playground link
Input:
Output:
Expected behavior:
I would expect the
@observerdecorator andthe second(fixed in 1.15.2) to stay inline as discussed in #4924.@actiondecorator