Can't import TypeScript modules without providing the file extension
<p>I am very new to TypeScript and I expect I should be able to import my TS files without needing to specify that they are TS files.</p>

<p>I have to do</p>

<pre><code>import {sealed} from "./decorators/decorators.ts";
</code></pre>

<p>instead of what i want think is the right way which is</p>

<pre><code>import {sealed} from "./decorators/decorators";
</code></pre>

<p>which results in errors indicating that it is only looking for files ending .js or .jsx</p>

<p>my tsconfig.json looks like this</p>

<pre><code>{
"compileOnSave": true,
"compilerOptions": {
    "module": "commonjs",
    "moduleResolution": "node",
    "jsx": "react",
    "allowJs": true,
    "target": "es6",
    "removeComments": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true
},
"exclude": [
    "node_modules",
    "typings/browser",
    "typings/browser.d.ts"
]
</code></pre>

<p>}</p>