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
hi @chinchiheather
yes it is still a blocker why we can't use that rule :-(
I configured it to 1 line. I want to have 1 line between different members but between the different declarations of an overloaded method I want to have 0 lines. I think my example from the topic is easier to understand if I add an additional class member:
expected behavior with configuration "lines-between-class-members": [true, 1]
class X {
bar() {
return 'hello world';
}
foo(x: number, y: string): string;
foo( y: string): number;
foo(...args: any): string | number {
return 42;
}
}
Used versions
Code
Expected behavior
No error
Actual behavior
It wants to have a blank line between the function declarations.
fix
changes it toThe text was updated successfully, but these errors were encountered: