Using Eclipse Palantir TypeScript Plug-in with JSPM
<p>I am using the <a href="https://github.com/palantir/eclipse-typescript" rel="nofollow">Palantir Eclipse TypeScript Plug-in</a> (v1.8.0.v20160223-1645), it works fine as long as my <code>d.ts</code> files are in the same source folder <code>/src</code> <strong>but</strong> due to JSPM they are in another folder and it cannot find and import the modules anymore:</p>

<pre><code>/src                      &lt;-- My .ts files are here (no js here)
/dist                     &lt;-- This is where the transpiled js ends up
/jspm_packages/npm        &lt;-- External d.ts files are here
</code></pre>

<p>In the project TypeScript properties (Eclipse UI), I have:</p>

<pre><code>Source folder(s):       src
Exported folders(s):    src;jspm_packages/npm
Output folder:          dist
Output file name:       (nothing here)
</code></pre>

<p>So in <code>com.palantir.typescript.prefs</code> there is:</p>

<pre><code>...
build.path.exportedFolder=src; jspm_packages/npm
build.path.sourceFolder=src
compiler.outputDirOption=dist
...
</code></pre>