is the current behavior when we did our testing.</p>
<p><code>npm install -D typescript@next</code></p>
<p>The tsconfig file for your project should have the <code>"module": "CommonJS"</code> and <code>"moduleResolution": "node12",</code> settings in addition to whatever else you need.</p>
<p><em>tsconfig.json</em></p>
<pre><code class="language-JSON">{
    &quot;compilerOptions&quot;: {
        &quot;module&quot;: &quot;CommonJS&quot;,
        &quot;moduleResolution&quot;: &quot;node12&quot;
}
</code></pre