branch: elpa/typescript-mode
commit aae70b59e64e1d7b3cfaee41e9134bfa19ac7363
Merge: ad8f356cbe 49b3cc1c4a
Author: Anantha Kumaran <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #16 from wingyplus/add-as-and-from-keywords
added "as" and "from" keywords
---
typescript-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/typescript-mode.el b/typescript-mode.el
index 1139028405..4c70034968 100644
--- a/typescript-mode.el
+++ b/typescript-mode.el
@@ -276,10 +276,10 @@ Match group 1 is the name of the macro.")
(defconst typescript--keyword-re
(typescript--regexp-opt-symbol
- '("abstract" "any" "async" "await" "boolean" "break" "case" "catch" "class"
"const"
+ '("abstract" "any" "as" "async" "await" "boolean" "break" "case" "catch"
"class" "const"
"constructor" "continue" "declare" "default" "delete" "do" "else"
"enum" "export" "extends" "extern" "false" "finally" "for"
- "function" "get" "goto" "if" "implements" "import" "in" "instanceof"
+ "function" "from" "get" "goto" "if" "implements" "import" "in"
"instanceof"
"interface" "let" "module" "namespace" "new" "null" "number"
"private" "protected" "public" "readonly" "return" "set" "static" "string"
"super" "switch" "this" "throw" "true"