Subject: bug#59660: lisp/progmodes/typescript-ts-mode.el: restore method-name fontification

From: Jostein Kjønigsen <[email-masked]>
Date: Mon, 28 Nov 2022 16:09:01 +0100

Attached is a simple patch which addresses this font-lock issue and 
makes typescript-ts-mode much better to use.

-- 
Kind regards
*Jostein Kjønigsen*

[email-masked] 🍵 [email-masked]
https://jostein.kjønigsen.no <https://jostein.kjønigsen.no>

From 9cd04a0984a878125958b95e13ff840004f286e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jostein=20Kj=C3=B8nigsen?= <[email-masked]>
Date: Mon, 28 Nov 2022 16:05:27 +0100
Subject: [PATCH 4/4] lisp/progmodes/typescript-ts-mode.el: restore method-name
 fontification.

---
 lisp/progmodes/typescript-ts-mode.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el
index bf483a31d34..3a392bb8d5f 100644
--- a/lisp/progmodes/typescript-ts-mode.el
+++ b/lisp/progmodes/typescript-ts-mode.el
@@ -267,9 +267,7 @@ typescript-ts-mode--font-lock-settings
    :language 'tsx
    :override t
    :feature 'property
-   `(((property_identifier) @font-lock-property-face)
-
-     (pair value: (identifier) @font-lock-variable-name-face)
+   `((pair value: (identifier) @font-lock-variable-name-face)
 
      ((shorthand_property_identifier) @font-lock-property-face)
 
-- 
2.37.2