We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e70675 commit c5bae86Copy full SHA for c5bae86
src/services/refactors/convertParamsToDestructuredObject.ts
@@ -1,7 +1,7 @@
1
/* @internal */
2
namespace ts.refactor.convertParamsToDestructuredObject {
3
const refactorName = "Convert parameters to destructured object";
4
- const minimumParameterLength = 2;
+ const minimumParameterLength = 1;
5
const refactorDescription = getLocaleSpecificMessage(Diagnostics.Convert_parameters_to_destructured_object);
6
7
const toDestructuredAction = {
0 commit comments