From microsoft/vscode#76583
TypeScript Version: typescript@3.6.0-dev.20190704
Search Terms:
- quick fix
- remove destructuring
- parameter
- function
Code
function f({x}, y) { return y; }
Trigger quick fixes on {x}
Bug:
A quick fix which removes the destructing is returned, but there is no quick fix to convert the first paramter to a _. Replacing a parameter with _ is available for normal parameters:
function f(x, y) { return y; }
From microsoft/vscode#76583
TypeScript Version: typescript@3.6.0-dev.20190704
Search Terms:
Code
Trigger quick fixes on
{x}Bug:
A quick fix which removes the destructing is returned, but there is no quick fix to convert the first paramter to a
_. Replacing a parameter with_is available for normal parameters: