-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Used versions
Code
class X {
foo(x: number, y: string): string;
foo( y: string): number;
foo(...args: any): string | number {
return 42;
}
}Expected behavior
No error
Actual behavior
It wants to have a blank line between the function declarations.
fix changes it to
class X {
foo(x: number, y: string): string;
foo( y: string): number;
foo(...args: any): string | number {
return 42;
}
}