Which strategy of content architecture is best with unit testing in mind in TypeScript? Creating modules or classes?
var x = moduleX.method1();
best with unit testing in mind in TypeScript
If you have a function that doesn't depend on local state in a class .... then it should just be a function. No need to
new SomeClass().foo() when you can
Here you can use namespaces to offer a nice consolidation of different function into a single object : https://basarat.gitbooks.io/typescript/content/docs/project/namespaces.html and you get something like
Most importantly have fun