title: Share module between client and server with TypeScript
body: <p>I want to write a portable module that can be reused between the node.js server and the browser. </p>
  
  <p>It's the modularization thing that's stopping me atm. I'm reading <a href="http://caolanmcmahon.com/posts/writing_for_node_and_the_browser/" rel="nofollow">http://caolanmcmahon.com/posts/writing_for_node_and_the_browser/</a> and it looks straightforward, however is getting tsc to generate something like that possible?</p>