<p dir="auto"><strong>Original</strong></p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var constructorTestObject = new constructorTestClass(1, 'string', true, 2);
constructorTestObject.arg\u0031 = 1;
constructorTestObject.arg2 = 'string';
constructorTestObject.arg\u0033 = true;
constructorTestObject.arg4 = 2;"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">constructorTestObject</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">,</span> <span class="pl-s">'string'</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
<span class="pl-s1">constructorTestObject</span><span class="pl-kos">.</span><span class="pl-c1">arg\u0031</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-s1">constructorTestObject</span><span class="pl-kos">.</span><span class="pl-c1">arg2</span> <span class="pl-c1">=</span> <span class="pl-s">'string'</span><span class="pl-kos">;</span>
<span class="pl-s1">constructorTestObject</span><span class="pl-kos">.</span><span class="pl-c1">arg\u0033</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span>
<span class="pl-s1">constructorTestObject</span><span class="pl-kos">.</span><span class="pl-c1">arg4</span> <span class="pl-c1">=</span> <span class="pl-c1">2</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Expect</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var constructorTestClass = (function () {
    function constructorTestClass(arg1, arg\u0032, arg\u0033, arg4) {
        this.arg1 = arg1;
        this.arg\u0032 = arg\u0032;
        this.arg\u0033 = arg\u0033;
        this.arg4 = arg4;
    }
    return constructorTestClass;
}());"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">constructorTestClass</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-k">function</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">(</span><span class="pl-s1">arg1</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0032</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0033</span><span class="pl-kos">,</span> <span class="pl-s1">arg4</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg1</span> <span class="pl-c1">=</span> <span class="pl-s1">arg1</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg\u0032</span> <span class="pl-c1">=</span> <span class="pl-s1">arg\u0032</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg\u0033</span> <span class="pl-c1">=</span> <span class="pl-s1">arg\u0033</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg4</span> <span class="pl-c1">=</span> <span class="pl-s1">arg4</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span>
    <span class="pl-k">return</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Actual</strong></p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var constructorTestClass = (function () {
    function constructorTestClass(arg1, arg\u0032, arg\u0033, arg4) {
        this.arg1 = arg1;
        this.arg2 = arg\u0032;
        this.arg3 = arg\u0033;
        this.arg4 = arg4;
    }
    return constructorTestClass;
}());"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">constructorTestClass</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-k">function</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">(</span><span class="pl-s1">arg1</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0032</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0033</span><span class="pl-kos">,</span> <span class="pl-s1">arg4</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg1</span> <span class="pl-c1">=</span> <span class="pl-s1">arg1</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg2</span> <span class="pl-c1">=</span> <span class="pl-s1">arg\u0032</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg3</span> <span class="pl-c1">=</span> <span class="pl-s1">arg\u0033</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg4</span> <span class="pl-c1">=</span> <span class="pl-s1">arg4</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span>
    <span class="pl-k">return</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<ul dir="auto">
<li>escapedIdentifiers.js</li>
</ul>
<p dir="auto"><strong>Expected</strong>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module moduleType\u0032 { 
    export var baz2: number;
}

//// [escapedIdentifiers.js]
var moduleType\u0032;
(function (moduleType2) {
})(moduleType\u0032 || (moduleType\u0032 = {}));"><pre class="notranslate"><span class="pl-smi">module</span> <span class="pl-s1">moduleType\u0032</span> <span class="pl-kos">{</span> 
    <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-s1">baz2</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-c">//// [escapedIdentifiers.js]</span>
<span class="pl-k">var</span> <span class="pl-s1">moduleType\u0032</span><span class="pl-kos">;</span>
<span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">moduleType2</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-s1">moduleType\u0032</span> <span class="pl-c1">||</span> <span class="pl-kos">(</span><span class="pl-s1">moduleType\u0032</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto"><strong>Actual</strong>:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="module moduleType\u0032 { 
    export var baz2: number;
}

//// [escapedIdentifiers.js]
var moduleType2;
(function (moduleType\u0032) {
})(moduleType2 || (moduleType2 = {}));"><pre class="notranslate"><span class="pl-smi">module</span> <span class="pl-s1">moduleType\u0032</span> <span class="pl-kos">{</span> 
    <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-s1">baz2</span>: <span class="pl-s1">number</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-c">//// [escapedIdentifiers.js]</span>
<span class="pl-k">var</span> <span class="pl-s1">moduleType2</span><span class="pl-kos">;</span>
<span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">moduleType\u0032</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
<span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-s1">moduleType2</span> <span class="pl-c1">||</span> <span class="pl-kos">(</span><span class="pl-s1">moduleType2</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">And in property names:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// constructors
class constructorTestClass { 
    constructor (public arg1: number,public arg\u0032: string,public arg\u0033: boolean,public arg4: number) { 
    }
}"><pre class="notranslate"><span class="pl-c">// constructors</span>
<span class="pl-k">class</span> <span class="pl-s1">constructorTestClass</span> <span class="pl-kos">{</span> 
    <span class="pl-en">constructor</span> <span class="pl-kos">(</span><span class="pl-s1">public</span> <span class="pl-s1">arg1</span>: <span class="pl-s1">number</span><span class="pl-kos">,</span><span class="pl-s1">public</span> <span class="pl-s1">arg\u0032</span>: <span class="pl-s1">string</span><span class="pl-kos">,</span><span class="pl-s1">public</span> <span class="pl-s1">arg\u0033</span>: <span class="pl-s1">boolean</span><span class="pl-kos">,</span><span class="pl-s1">public</span> <span class="pl-s1">arg4</span>: <span class="pl-s1">number</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> 
    <span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>
<p dir="auto">Expected:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// constructors
var constructorTestClass = (function () {
    function constructorTestClass(arg1, arg\u0032, arg\u0033, arg4) {
        this.arg1 = arg1;
        this.arg\u0032 = arg\u0032;
        this.arg\u0033 = arg\u0033;
        this.arg4 = arg4;
    }
    return constructorTestClass;
}());"><pre class="notranslate"><span class="pl-c">// constructors</span>
<span class="pl-k">var</span> <span class="pl-s1">constructorTestClass</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-k">function</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">(</span><span class="pl-s1">arg1</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0032</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0033</span><span class="pl-kos">,</span> <span class="pl-s1">arg4</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg1</span> <span class="pl-c1">=</span> <span class="pl-s1">arg1</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg\u0032</span> <span class="pl-c1">=</span> <span class="pl-s1">arg\u0032</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg\u0033</span> <span class="pl-c1">=</span> <span class="pl-s1">arg\u0033</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg4</span> <span class="pl-c1">=</span> <span class="pl-s1">arg4</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span>
    <span class="pl-k">return</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Actual:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// constructors
var constructorTestClass = (function () {
    function constructorTestClass(arg1, arg\u0032, arg\u0033, arg4) {
        this.arg1 = arg1;
        this.arg2 = arg2;
        this.arg3 = arg3;
        this.arg4 = arg4;
    }
    return constructorTestClass;
}());"><pre class="notranslate"><span class="pl-c">// constructors</span>
<span class="pl-k">var</span> <span class="pl-s1">constructorTestClass</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
    <span class="pl-k">function</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">(</span><span class="pl-s1">arg1</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0032</span><span class="pl-kos">,</span> <span class="pl-s1">arg\u0033</span><span class="pl-kos">,</span> <span class="pl-s1">arg4</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg1</span> <span class="pl-c1">=</span> <span class="pl-s1">arg1</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg2</span> <span class="pl-c1">=</span> <span class="pl-s1">arg2</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg3</span> <span class="pl-c1">=</span> <span class="pl-s1">arg3</span><span class="pl-kos">;</span>
        <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">arg4</span> <span class="pl-c1">=</span> <span class="pl-s1">arg4</span><span class="pl-kos">;</span>
    <span class="pl-kos">}</span>
    <span class="pl-k">return</span> <span class="pl-s1">constructorTestClass</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Failed tests:</p>
<ul dir="auto">
<li>escapedIdentifiers</li>
</ul>