typescript can't resolve non-relative path in import
<p>I have project structure like this</p>

<pre><code>|--src
     |--app.component
                    |--index.ts
     |--home.component
                    |--index.ts
|--tsconfig.json
|--webpack.config.js
</code></pre>

<p>And I'm trying to do stuff below in app.component-index.ts </p>

<pre><code>import { HomeComponent } from 'components/home.component'
</code></pre>

<p>Typescript couldn't find this module and throws </p>

<pre><code>error TS2307: Cannot find module 'home.component'
</code></pre>

<p>Typescript docs say next:</p>

<blockquote>
  <p>A non-relative import to moduleB such as import { b } from "moduleB",
  in a source file /root/src/folder/A.ts, would result in attempting the
  following locations for locating "moduleB":</p>
</blockquote>

<pre><code>/root/src/folder/moduleB.ts
/root/src/moduleB.ts
/root/moduleB.ts
/moduleB.ts 
</code></pre>

<p>So for my case I expect it would be like</p>

<pre><code>/src/components/app.component/components/home.component
/src/components/components/home.component
/src/components/home.component
</code></pre>

<p>Thanks in advance. 
P.S. In my webpack.config I've setted root.resolve to src and everything bundles correct. Typescript-loader prints errors to terminal but everything is bundled and works correctly</p>