For clarity, all overloads of the same method should be grouped together. That lets both users and maintainers quickly understand all the current available options.
interface MyInterface {
doTheThing(): number;
doTheOtherThing(): string;
doTheThing(str: string): string; // Noncompliant
}
interface MyInterface {
doTheThing(): number;
doTheThing(str: string): string;
doTheOtherThing(): string;
}