title: Why export a class and a namespace with the same name?
body: <p>I found some code, written by someone who presumably knew what they were doing, where both a class and a namespace with the same names were exported from a module.  What could the purpose of this be?  Is this a common pattern in TypeScript?</p>
  <p>This is essentially what I observed in the Typescript module:</p>
  <pre><code>export class A {
      constructor(arg: A.B) {
  
      }
  } 
  
  export namespace A {
  
      export interface B {
          C: number
      }
  }
  </code></pre>