See, TypeScript has namespaces. But they're not at all like C# namespaces.
In TypeScript, every file is its own "external module" (or just "module", these days), and must be imported as such by any other files needing to reference its contents. Namespaces (or "internal modules" as they used to be called) are only used for separating parts of a single file.