title: External module without import statement in Typescript
body: <p>The moment you add an <code>import</code> statement to your Typescript file, this file is considered an external module. So this is not a problem:</p>
  
  <p><strong>File.1.ts</strong></p>
  
  <pre><code>import { Type } from '...';
  let whatever = 123;
  ...
  </code></pre>
  
  <p><strong>File.2.ts</strong></p>
  
  <pre><code>import { Type } from '...';
  let whatever = 234;
  ...
  </code></pre>
  
  <p>So this works. But the moment one removes those two <code>import</code> statements, these files aren't considered modules any more and both variables with the same name become global interfering with each other.</p>
  
  <h2>Question</h2>
  
  <p>How does one <em>force</em> modularization of a source file that doesn't have any import statements?</p>