<p dir="auto">Something along the lines of:</p>
<div class="highlight highlight-source-json notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;files&quot; : [
    &quot;folder1\\*.ts&quot;,
    &quot;folder2\\**.ts&quot;
  ]
}"><pre class="notranslate">{
  <span class="pl-ent">"files"</span> : [
    <span class="pl-s"><span class="pl-pds">"</span>folder1<span class="pl-cce">\\</span>*.ts<span class="pl-pds">"</span></span>,
    <span class="pl-s"><span class="pl-pds">"</span>folder2<span class="pl-cce">\\</span>**.ts<span class="pl-pds">"</span></span>
  ]
}</pre></div>
<p dir="auto">open questions:</p>
<ul dir="auto">
<li>Should it be in files or a separate property</li>
<li>What is the expected --watch behavior</li>
<li>Should we add excludes as well (e.g. includes: "<em>.ts", excludes: "</em>.d.ts");</li>
</ul>
<p dir="auto"><strong>TypeScript Version:</strong></p>
<p dir="auto">1.8.7</p>
<p dir="auto"><strong>Code</strong></p>
<p dir="auto"><a href="https://gist.github.com/trainrail/fc5871bb6fc1ebb422e4720b3e3e4264">https://gist.github.com/trainrail/fc5871bb6fc1ebb422e4720b3e3e4264</a></p>
<p dir="auto">Quick Description:</p>
<p dir="auto">Here is a working version of typescript with angular2 and d3 in <a href="https://plnkr.co/edit/hYuFcje1UVPi1XRmRD3e?p=preview" rel="nofollow">plunker</a></p>
<p dir="auto">Here is also a working version of typescript with angular2 and d3 in my <a href="https://gist.github.com/trainrail/fc5871bb6fc1ebb422e4720b3e3e4264">local</a> , however even though the code is working, I am running into compiler error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error TS2304: Cannot find name 'd3'."><pre class="notranslate"><code class="notranslate">error TS2304: Cannot find name 'd3'.
</code></pre></div>
<p dir="auto"><strong>Expected behavior:</strong></p>
<p dir="auto">No compiler error</p>
<p dir="auto"><strong>Actual behavior:</strong></p>
<p dir="auto">Compiler error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="    error TS2304: Cannot find name 'd3'."><pre class="notranslate"><code class="notranslate">    error TS2304: Cannot find name 'd3'.
</code></pre></div>
<p dir="auto">even though browser could clearly render the d3 code.</p>