Open
Description
TypeScript Version: 3.5.0-dev.20190404
Search Terms:
- refactor / refactoring
- convert to destructed parameters
Code
For a simple js file
function doStuff(a, b, c) {
return a + b + c;
}
doStuff('a', 'b', 1);
doStuff('x', 'y', 2);
Expected behavior:
A convert to restructured refactoring is available on doStuff
Actual behavior:
I'm not seeing any such refactoring show up in js files
Playground Link:
Related Issues: