TypeScript Version: 3.4.0-dev.20190311
Search Terms:
- refactor
- convert to named parameters
Code
For the TS:
interface IFoo {
method(x: string, y: string): void;
}
const x: IFoo = {
method(x, y) {}
};
Place cursor in the parameters in method(x, y) and run the convert to named parameter refactoring
Bug:
Although the refactoring is listed, it fails to apply.