languages: Remove duplicate keywords in TSX syntax highlighting (#48196)

Closes #48178

Release Notes:

- Fixed issue where certain keywords were incorrectly highlighted in TSX
files
This commit is contained in:
Kunall Banerjee 2026-02-03 14:55:26 -05:00 committed by GitHub
parent 30b7762283
commit 477069ef62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -262,6 +262,7 @@
] @operator
)
; Keywords
[
"abstract"
"as"
@ -383,24 +384,7 @@
":"
]) @punctuation.special)
; Keywords
[ "abstract"
"declare"
"enum"
"export"
"implements"
"interface"
"keyof"
"module"
"namespace"
"private"
"protected"
"public"
"type"
"readonly"
"override"
] @keyword
(jsx_opening_element
[