typescript import doesn't work
<p>I'm trying to solve this problem is already more than 6-8 hours. 
I think one of the problems is my english. =)</p>

<p>I use atom editor, electron, typescript, react</p>

<p><strong>tsconfig.json</strong></p>

<pre><code>{
    "compilerOptions": {
        "target": "es5",
        "module": "commonjs",
        "moduleResolution": "node",
        "isolatedModules": false,
        "jsx": "react",
        "experimentalDecorators": true,
        "emitDecoratorMetadata": true,
        "declaration": false,
        "noImplicitAny": false,
        "noImplicitUseStrict": false,
        "removeComments": true,
        "noLib": false,
        "preserveConstEnums": true,
        "suppressImplicitAnyIndexErrors": true
    },
    "exclude": [
        "node_modules",
        "typings/browser",
        "typings/browser.d.ts"
    ],
    "compileOnSave": true,
    "buildOnSave": false,
    "atom": {
        "rewriteTsconfig": false
    }
}
</code></pre>

<p><strong>app.ts:</strong></p>

<pre><code>import {hello} from "./func";
hello("TypeScript");
</code></pre>

<p><strong>func.ts</strong></p>

<pre><code>export function hello(name: string){
    console.log(`Hello, ${name}`);
}
</code></pre>

<p><strong>Start electron and get error:</strong></p>

<pre><code>Uncaught SyntaxError: Unexpected token import
</code></pre>

<p>then, create file <strong>react-test.ts:</strong></p>

<pre><code>import * as React from "react";
</code></pre>

<p><strong>get error in atom editor:</strong></p>

<pre><code>Cannot find module 'react'
</code></pre>

<p><strong>Question:</strong>
I do not want more theory. There is a specific example. Please help me to solve it. By the way I did not have any problem with babel =)</p>

<p><strong>Update #1:</strong></p>

<p><strong>Electron run command:</strong></p>

<pre><code>npm start
</code></pre>

<p>Project on <a href="https://github.com/imsory/ts-import" rel="nofollow">github</a></p>