From 573fcf2712221f30274de0b217a5702250f43704 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 3 Aug 2023 11:31:41 +0300 Subject: [PATCH] Add new keyword to 'typescript-ts-mode' * 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/typescript-ts-mode.el b/lisp/progmodes/typescript-ts-mode.el index d234bf2f6e6..96ea18523e3 100644 --- a/lisp/progmodes/typescript-ts-mode.el +++ b/lisp/progmodes/typescript-ts-mode.el @@ -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.") -- 2.39.2