<h3 dir="auto"><g-emoji class="g-emoji" alias="computer" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png">💻</g-emoji></h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Would you like to work on a fix?</li>
</ul>
<h3 dir="auto">How are you using Babel?</h3>
<p dir="auto">Programmatic API (<code class="notranslate">babel.transform</code>, <code class="notranslate">babel.parse</code>)</p>
<h3 dir="auto">Input code</h3>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="maxHeight! &lt; 1"><pre class="notranslate"><span class="pl-s1">maxHeight</span><span class="pl-c1">!</span> <span class="pl-c1">&lt;</span> <span class="pl-c1">1</span></pre></div>
<h3 dir="auto">Configuration file name</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Configuration</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Current and expected behavior</h3>
<p dir="auto">Should transform to</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="maxHeight &lt; 1;"><pre class="notranslate"><span class="pl-s1">maxHeight</span> <span class="pl-c1">&lt;</span> <span class="pl-c1">1</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Omit typescript's <code class="notranslate">!</code></p>
<h3 dir="auto">Environment</h3>
<p dir="auto">Babel v7.14.5<br>
@babel/preset-typescript: 7.14.5 =&gt; 7.14.5<br>
@babel/preset-react: 7.14.5 =&gt; 7.14.5<br>
Node 14</p>
<h3 dir="auto">Possible solution</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional context</h3>
<p dir="auto"><a href="https://babeljs.io/repl#?browsers=defaults%2C%20not%20ie%2011%2C%20not%20ie_mob%2011&amp;build=&amp;builtIns=false&amp;corejs=3.6&amp;spec=false&amp;loose=false&amp;code_lz=LYQwHgEgpglg5gCwC4EIAEAeNBGIA&amp;debug=false&amp;forceAllTransforms=false&amp;shippedProposals=false&amp;circleciRepo=&amp;evaluate=false&amp;fileSize=false&amp;timeTravel=false&amp;sourceType=module&amp;lineWrap=true&amp;presets=env%2Creact%2Ctypescript&amp;prettier=false&amp;targets=&amp;version=7.14.5&amp;externalPlugins=" rel="nofollow">https://babeljs.io/repl#?browsers=defaults%2C%20not%20ie%2011%2C%20not%20ie_mob%2011&amp;build=&amp;builtIns=false&amp;corejs=3.6&amp;spec=false&amp;loose=false&amp;code_lz=LYQwHgEgpglg5gCwC4EIAEAeNBGIA&amp;debug=false&amp;forceAllTransforms=false&amp;shippedProposals=false&amp;circleciRepo=&amp;evaluate=false&amp;fileSize=false&amp;timeTravel=false&amp;sourceType=module&amp;lineWrap=true&amp;presets=env%2Creact%2Ctypescript&amp;prettier=false&amp;targets=&amp;version=7.14.5&amp;externalPlugins=</a></p>
<p dir="auto">This bug reproduces only with <code class="notranslate">react</code> + <code class="notranslate">typescript</code> presets.</p>
<h3 dir="auto"><g-emoji class="g-emoji" alias="computer" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4bb.png">💻</g-emoji></h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Would you like to work on a fix?</li>
</ul>
<h3 dir="auto">How are you using Babel?</h3>
<p dir="auto">babel-loader (webpack)</p>
<h3 dir="auto">Input code</h3>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="some.value! &lt; another.value!"><pre class="notranslate"><span class="pl-s1">some</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-c1">!</span> <span class="pl-c1">&lt;</span> <span class="pl-s1">another</span><span class="pl-kos">.</span><span class="pl-c1">value</span><span class="pl-c1">!</span></pre></div>
<h3 dir="auto">Configuration file name</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Configuration</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Current and expected behavior</h3>
<p dir="auto">I'm getting "SyntaxError: Missing semicolon." in version 7.14.5, but it was working fine in 7.14.4.</p>
<h3 dir="auto">Environment</h3>
<p dir="auto">@babel/parser version 7.14.5</p>
<h3 dir="auto">Possible solution</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Additional context</h3>
<p dir="auto">The typescript compiler is not complaining.</p>