Webpack resolve.alias does not work with typescript? : <p>I try to shorten my imports in typescript</p>

<p>from <code>import {Hello} from "./components/Hello";</code></p>

<p>to <code>import {Hello} from "Hello";</code></p>

<p>For that I found out you can use <code>resolve.alias</code> in webpack thus I configured that part as following</p>

<pre><code>resolve: {
    root: path.resolve(__dirname),
    alias: {
        Hello: "src/components/Hello"
    },
    extensions: ["", ".ts", ".tsx", ".js"]
},
</code></pre>

<p>Webpack builds, and the output bundle.js works. However typescript's intellisense complain it <code>cannot find the module</code></p>

<p>So my question is whether or not webpack's resolve.alias works with typescript?</p>

<p>I found following <a href="https://github.com/s-panferov/awesome-typescript-loader/issues/34" rel="noreferrer">issue</a> but there's no answer to it.</p>
