title: TypeScript module namespacing in multiple files
body: <p>I am trying to mimic a feature of C# in Typescript.</p>
  
  <p>Let say I have this folder structure </p>
  
  <pre><code>App.ts
  Models/
      Person.ts
      Message.ts
  </code></pre>
  
  <p>I then in <code>App.ts</code> want this:</p>
  
  <pre><code>module MyAppNamespace {
      export class ChatApp {
          User: Models.Person;
          constructor () =&gt; {
              this.User = new Models.Person("John");
              this.User.Message = new Models.Message("Hello World");
          }
      }
  }
  </code></pre>
  
  <p>How would I do this?</p>