<table><tr><td style="">nibags created this revision.<br />nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />nibags requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D24355">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>TypeScript:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Add asserts: <a href="https://github.com/microsoft/TypeScript/pull/32695" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/microsoft/TypeScript/pull/32695</a></li>
<li class="remarkup-list-item">Highlight types after <tt style="background: #ebebeb; font-size: 13px;">as</tt> expression.</li>
<li class="remarkup-list-item">Add type helpers: <a href="https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type" class="remarkup-link" target="_blank" rel="noreferrer">https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#the-omit-helper-type</a></li>
</ul>

<p>TypeScript React (TSX):</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">When <tt style="background: #ebebeb; font-size: 13px;"><T extends</tt> is detected, highlight as a type assertion, not as a Tag. See: <a href="https://github.com/microsoft/TypeScript-TmLanguage/commit/11b1a4f8dc3a3eaa4df71e8cc1ad6f01a688961d" class="remarkup-link" target="_blank" rel="noreferrer">https://github.com/microsoft/TypeScript-TmLanguage/commit/11b1a4f8dc3a3eaa4df71e8cc1ad6f01a688961d</a></li>
</ul>

<p>JavaScript React (JSX):</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Use non-capture groups in RegExpr rules.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>BRANCH</strong><div><div>update-typescript</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D24355">https://phabricator.kde.org/D24355</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/folding/test.ts.fold<br />
autotests/folding/test.tsx.fold<br />
autotests/html/test.ts.html<br />
autotests/html/test.tsx.html<br />
autotests/input/test.ts<br />
autotests/input/test.tsx<br />
autotests/reference/test.ts.ref<br />
autotests/reference/test.tsx.ref<br />
data/syntax/javascript-react.xml<br />
data/syntax/typescript-react.xml<br />
data/syntax/typescript.xml</div></div></div><br /><div><strong>To: </strong>nibags, Framework: Syntax Highlighting, dhaumann, cullmann<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>