title: es6 accessor for export class function
body: <p>I started working with Aurelia with ES7 and I can't figure out how to make a function public when it needs to have an argument list.</p>
  
  <p>This works:</p>
  
  <pre><code>export class dummy{
    get doSomething(){
      return "something";
    }
  }
  
  dummy.doSomething()
  </code></pre>
  
  <p>BUT if I modify the function to have an argument list, I get an error:</p>
  
  <pre><code>get doSomething(x){
      ...
  ERR: A 'get' accessor cannot have parameters.
  </code></pre>
  
  <p>I tried a variety of things that didn't work and Googling it is coming up with nothing. How do I declare a public function in an exported class that accepts an argument and returns a value?</p>
  
  <p>Thanks.</p>