const varDeclarationList = (variableData: VariableNameSet | undefined):
  VariableDeclaration[] | undefined => {
  const body = onlyParameterDeclarations(variableData)
    .map(createVariableDeclaration);
  return body.length > 0 ? body : undefined;