A well-organized code is one of the few important aspects of any application development, which normally does not affect your ability to churn out features but affects how fast you can make changes to your code without breaking anything. TypeScript allows us to write organized code by using features such as namespace and modules.
Before TypeScript 1.5, there was no concept of namespace; in fact, we had internal and external modules. TypeScript team in effort to align the naming convention with ECAMScript standards modified internal and external modules. Internal modules were named namespaces and external modules were named just modules, as in the case of ECMAScript 2015 (ES6). Now, with the naming conventions changed, there were changes in the syntax as well. TypeScript does have backward compatibility support, but we will keep our focus on the...