title: How to use js modules from non-module files
body: <p>I'm a beginner at using js modules.</p>
  
  <p>I'm working on a fairly simple web application. It uses typescript and angular 2, which heavily relies on modules.</p>
  
  <p>Most of my app ts files 'import' one or many js modules (usually mostly angular 2 modules).</p>
  
  <p>As I understand, because my app ts files have a top level 'import', they are automatically considered a js module by typescript.</p>
  
  <p>However, I want any of my app ts files to be accessible by any other of my app ts files, without having to 'import' each other. But because they are now modules themselves, ts requires me to do that...</p>
  
  <p>Is it possible?</p>
  
  <p>It seems crazy to me that for each of my app ts file, I should have to declare every other of my app ts files that are used in there (I like to have tiny files with a single class/interface). In addition, this relies on relative paths which breaks as soon as I restructure my folder structure.</p>
  
  <p>Am I thinking about this the wrong way?</p>