Author : MD TAREQ HASSAN
Introduction
- A namespace is a way to logically group related code. This is inbuilt into TypeScript unlike in JavaScript where variables declarations go into a global scope.
- Namespaces are a TypeScript-specific way to organize code
- Namespaces are simply named JavaScript objects in the global namespace. This makes namespaces a very simple construct to use
- Unlike modules, they can span multiple files, and can be concatenated using
--outFile
Links