title: Typescript compiler (tsc) and relative path
body: <p>I want to compile the file and its dependencies. My goal import dependencies using the relative path.</p>
  
  <p>example in <code>/root/subfolder/myFile.ts</code>:</p>
  
  <pre><code>import { myFunction } from '~/functions' 
  </code></pre>
  
  <p>tilde <code>~</code> should show that <code>myFunction</code> is from the root folder</p>
  
  <pre><code>root
  |-- functions.ts
  `-- subfolder
      `-- myFile.ts
  </code></pre>