I am getting lot of confusion with module/namespace/export and import, require, reference usage.
Being from Java background, Can someone explain me
- module is for external packages 2. namespace is for internal packages
Actually the module keyword has been replaced with the namespace keyword.
A better statement is thus Modules are what used to be called external modules, namespace is what used to be called internal modules.
Hope this helps futher : https://basarat.gitbooks.io/typescript/content/docs/project/modules.html