title: Typescript 0.9: module functions
body: <p>It seems that you can't do this anymore in TypeScript 0.9:</p>
  
  <pre><code>declare module "mymodule" {
      export function(): any;
  }
  </code></pre>
  
  <p>Is there a way of creating typings that allow to call the exported module in 0.9?</p>
  
  <p>Notice that the exported function doesn't have a name. That's the way to declare callable modules in previous versions of typescript, because there are a lot of node modules exporting just a function.</p>