emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/typescript-mode 29282a32b7 124/222: add never type


From: ELPA Syncer
Subject: [nongnu] elpa/typescript-mode 29282a32b7 124/222: add never type
Date: Sun, 6 Feb 2022 16:59:25 -0500 (EST)

branch: elpa/typescript-mode
commit 29282a32b7578edaad6f4cfed677ac055373b6a7
Author: Jack Williams <jw@jackw.io>
Commit: Jack Williams <jw@jackw.io>

    add never type
---
 typescript-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/typescript-mode.el b/typescript-mode.el
index 341e15d4ed..39b2c97aa9 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -267,7 +267,7 @@ Match group 1 is MUMBLE.")
      "constructor" "continue" "declare" "default" "delete" "do" "else"
      "enum" "export" "extends" "extern" "false" "finally" "for"
      "function" "from" "get" "goto" "if" "implements" "import" "in" 
"instanceof"
-     "interface" "keyof" "let" "module" "namespace" "new" "null" "number" 
"object" "of"
+     "interface" "keyof" "let" "module" "namespace" "never" "new" "null" 
"number" "object" "of"
      "private" "protected" "public" "readonly" "return" "set" "static" "string"
      "super" "switch"  "this" "throw" "true"
      "try" "type" "typeof" "unknown" "var" "void"
@@ -276,7 +276,7 @@ Match group 1 is MUMBLE.")
 
 (defconst typescript--basic-type-re
   (typescript--regexp-opt-symbol
-   '("bool" "boolean" "string" "number" "any" "unknown" "void"))
+   '("any" "bool" "boolean" "never" "number" "string" "unknown" "void"))
   "Regular expression matching any predefined type in typescript.")
 
 (defconst typescript--constant-re



reply via email to

[Prev in Thread] Current Thread [Next in Thread]