]> git.eshelyaron.com Git - emacs.git/commitdiff
Add new keyword to 'typescript-ts-mode'
authorEli Zaretskii <eliz@gnu.org>
Thu, 3 Aug 2023 08:31:41 +0000 (11:31 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 3 Aug 2023 08:31:41 +0000 (11:31 +0300)
* lisp/progmodes/typescript-ts-mode.el
(typescript-ts-mode--keywords): Add "satisfies", a new operator in
Typescript 4.9.  (Bug#64924)

lisp/progmodes/typescript-ts-mode.el

index d234bf2f6e6f555ca72ac923782be4f24bd4a370..96ea18523e30cfd9699a913a2212793940eb2d2a 100644 (file)
@@ -142,7 +142,7 @@ Argument LANGUAGE is either `typescript' or `tsx'."
     "export" "extends" "finally" "for" "from" "function"
     "get" "if" "implements" "import" "in" "instanceof" "interface" "is" "infer"
     "keyof" "let" "namespace" "new" "of" "private" "protected"
-    "public" "readonly" "return" "set" "static" "switch"
+    "public" "readonly" "return" "satisfies" "set" "static" "switch"
     "target" "throw" "try" "type" "typeof" "var" "void"
     "while" "with" "yield")
   "TypeScript keywords for tree-sitter font-locking.")