title: Transpiling Typescript into Javascript results in a module import error because of a missing .js suffix
body: <p>I'm just getting into typescript and my tsconfig.json</p>
  <pre><code>{
      &quot;compilerOptions&quot;: {
          &quot;target&quot;: &quot;ES2017&quot;,
          &quot;outDir&quot;: &quot;dist&quot;,
          &quot;moduleResolution&quot;: &quot;node&quot;
      }
  }
  </code></pre>
  <p>and when I import a module in my typescript file I import it as</p>
  <pre><code>import {something} from &quot;./coolfilename&quot;
  </code></pre>
  <p>However, whenever I run tsc, the modules go to</p>
  <pre><code>import {something} from &quot;./coolfilename&quot;
  </code></pre>
  <p>but node wants it to be</p>
  <pre><code>import {something} from &quot;./coolfilename.js&quot;
  </code></pre>
  <p>but writing</p>
  <pre><code>import {something} from &quot;./coolfilename.ts&quot;
  </code></pre>
  <p>also throws an error</p>
  <p>What does it want us to do???</p>