Difference between classes and namespaces in typescript
问题 What is exactly the difference between Classes and Namespaces in Typescript? I know that if you create a class with static methods you can access them without instantiate the class and that is exactly one of the points of namespaces I guess. I also know that you can create more than one Namespace with the same name and their methods will belong to the same function when compiled to JS. But I cant figure out when to use one or another...for me, at the end, classes and namespaces are almost the