title: How to import in Typescript without module declaration
body: <p>I have a bunch of autogenerated modules that i need to reference from my typescript files.</p>
  
  <p>Eg</p>
  
  <pre>
  import test = require('../templates/test')
  </pre>
  
  <p>I am generating CommonJS modules with ES5 output.
  So I cant use <code>amd-dependency</code> (since that works for amd modules only). 
  And I also cannot manually declare the module since 1. it is autogenerated and 2. it has a relative path.</p>
  
  <p>Typescript 1.6 currently shows an error saying it 'Cannot find module'. How do i make it suppress this error and import?</p>