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
One heuristic that prettier uses is that if there is only type parameter, it isn't broken up, ever. Maybe, we can incorporate that.
More specifically, prettier keeps the LHS part of a declaration with at most one type parameter on a single line. If more than one, it may be broken up as you mentioned.
In a similar vein, we can also keep the LHS part of a declaration on a single line if there's at most one type parameter.
Currently a generic property will break like this
Which is modeled after how prettier breaks the following typescript.
Should we do something different?
Or maybe this if we decide to break before the =
Would we ever want to break after the modifiers?
The text was updated successfully, but these errors were encountered: