title: Can typescript export a function?
body: <p>Is it possible to export a simple function from a typescript module?</p>
  
  <p><a href="http://www.typescriptlang.org/Playground/#src=module%20SayHi%20%7B%0A%20%20%20%20export%20function%28%29%20%7B%0A%09%09console.log%28%22Hi%22%29;%0A%09%7D%0A%7D%0Anew%20SayHi%28%29;%0A">This isn't compiling for me.</a></p>
  
  <pre><code>module SayHi {
      export function() {
      console.log("Hi");
    }
  }
  new SayHi();
  </code></pre>
  
  <p><a href="https://typescript.codeplex.com/workitem/47">This workitem</a> seems to imply that you cannot but doesn't flat out say it. Is it not possible? </p>