message: Do not show 'Change signature' quick fix when a function/method does not have parameters
diff: @@ -158,11 +158,15 @@ export function createVisitor(
  FunctionDeclaration(path) {
  if (!selection.isInsidePath(path)) return;
  + if (!hasParameters(path.node)) return;
  +
  onMatch(path, selection);
  },
  ArrowFunctionExpression(path) {
  if (!selection.isInsidePath(path)) return;
  + if (!hasParameters(path.node)) return;
  +
  if (!t.isVariableDeclarator(path.parent)) return;
  if (!path.parent.loc) return;
  @@ -171,6 +175,9 @@ export function createVisitor(
  },
  ClassMethod(path) {
  if (!selection.isInsidePath(path)) return;
  +
  + if (!hasParameters(path.node)) return;
  +
  onMatch(path, selection);
  }
  };
  @@ -251,3 +258,9 @@ function createVisitorForReferences(
  }
  };
  }
  +
  +function hasParameters(
  + node: t.FunctionDeclaration | t.ArrowFunctionExpression | t.ClassMethod
  +) {
  + return node.params.length > 0;
  +}
  