From 7ba55c5860b152d999dda59393ca3ebeb1b5c85f Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Fri, 18 Nov 2016 17:26:22 +0100 Subject: [PATCH] [typescript] update grammar --- .../syntaxes/JavaScript.tmLanguage.json | 39 ++++++++++++++++++- .../syntaxes/TypeScript.tmLanguage.json | 39 ++++++++++++++++++- .../syntaxes/TypeScriptReact.tmLanguage.json | 39 ++++++++++++++++++- 3 files changed, 111 insertions(+), 6 deletions(-) diff --git a/extensions/javascript/syntaxes/JavaScript.tmLanguage.json b/extensions/javascript/syntaxes/JavaScript.tmLanguage.json index 5d52b791c45a6..f52af3d2cbdc0 100644 --- a/extensions/javascript/syntaxes/JavaScript.tmLanguage.json +++ b/extensions/javascript/syntaxes/JavaScript.tmLanguage.json @@ -1018,6 +1018,9 @@ { "include": "#indexer-declaration" }, + { + "include": "#indexer-mapped-type-declaration" + }, { "include": "#field-declaration" }, @@ -1219,6 +1222,38 @@ } ] }, + "indexer-mapped-type-declaration": { + "name": "meta.indexer.mappedtype.declaration.js", + "begin": "(?:(?