TypeScript - Use modules or classes with unit testing in mind?
<p>Which strategy of content architecture is best with unit testing in mind in TypeScript? Creating modules or classes?</p>

<p>module: <code>moduleX.method1();</code> // Exported method</p>

<p>class: <code>var x = moduleX.method1();</code> // Public method</p>