You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
Everything works fine if you have an interface in an arrow function but once you put pass it directly to a function call it starts missing the newlines.
Environment information
What happened?
When given code like this:
The formatter misses new lines between the interface members:
https://docs.rome.tools/playground/?indentStyle=space"eStyle=single&trailingComma=es5&code=ZgAoACgAKQAgAD0APgAgAHsACgAgACAAaQBuAHQAZQByAGYAYQBjAGUAIABXAHIAbwBuAGcAIAB7AAoAIAAgACAAIABhADoAIAB7AAoAIAAgACAAIAAgACAAYgA6ACAAcwB0AHIAaQBuAGcAOwAKACAAIAAgACAAfQA7AAoAIAAgACAAIABwADoAIAB7ACAALwAvACAAVwBoAHkAIABpAHMAIABwACAAbgBvAHQAIABvAG4AIABpAHQAJwBzACAAbwB3AG4AIABsAGkAbgBlAD8ACgAgACAAIAAgACAAIABxADoAIABzAHQAcgBpAG4AZwA7AAoAIAAgACAAIAB9AAoAIAAgAH0ACgB9ACkAOwA%3D&jsx=false
Everything works fine if you have an interface in an arrow function but once you put pass it directly to a function call it starts missing the newlines.
Expected result
Prettier produces the output I'd expect:
Code of Conduct
The text was updated successfully, but these errors were encountered: