Update js/ts grammar

This commit is contained in:
Matt Bierner 2021-04-14 20:42:41 -07:00
parent a5d656cd3f
commit e870a6d700
No known key found for this signature in database
GPG key ID: 099C331567E11888
5 changed files with 9 additions and 9 deletions

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c0cba7d337a1c2a4815b31fb7fe785e6d52a53fc", "version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/634a12f4fa2b2843c83353c0a395852c3a0c04c4",
"name": "JavaScript (with React support)", "name": "JavaScript (with React support)",
"scopeName": "source.js", "scopeName": "source.js",
"patterns": [ "patterns": [
@ -3371,7 +3371,7 @@
"name": "keyword.operator.expression.typeof.js" "name": "keyword.operator.expression.typeof.js"
} }
}, },
"end": "(?=[,);}\\]=>:&|{]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))", "end": "(?=[,);}\\]=>:&|{\\?]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))",
"patterns": [ "patterns": [
{ {
"include": "#expression" "include": "#expression"

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c0cba7d337a1c2a4815b31fb7fe785e6d52a53fc", "version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/634a12f4fa2b2843c83353c0a395852c3a0c04c4",
"name": "JavaScript (with React support)", "name": "JavaScript (with React support)",
"scopeName": "source.js.jsx", "scopeName": "source.js.jsx",
"patterns": [ "patterns": [
@ -3371,7 +3371,7 @@
"name": "keyword.operator.expression.typeof.js.jsx" "name": "keyword.operator.expression.typeof.js.jsx"
} }
}, },
"end": "(?=[,);}\\]=>:&|{]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))", "end": "(?=[,);}\\]=>:&|{\\?]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))",
"patterns": [ "patterns": [
{ {
"include": "#expression" "include": "#expression"

View file

@ -6,7 +6,7 @@
"git": { "git": {
"name": "TypeScript-TmLanguage", "name": "TypeScript-TmLanguage",
"repositoryUrl": "https://github.com/microsoft/TypeScript-TmLanguage", "repositoryUrl": "https://github.com/microsoft/TypeScript-TmLanguage",
"commitHash": "c0cba7d337a1c2a4815b31fb7fe785e6d52a53fc" "commitHash": "634a12f4fa2b2843c83353c0a395852c3a0c04c4"
} }
}, },
"license": "MIT", "license": "MIT",

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c0cba7d337a1c2a4815b31fb7fe785e6d52a53fc", "version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/634a12f4fa2b2843c83353c0a395852c3a0c04c4",
"name": "TypeScript", "name": "TypeScript",
"scopeName": "source.ts", "scopeName": "source.ts",
"patterns": [ "patterns": [
@ -3420,7 +3420,7 @@
"name": "keyword.operator.expression.typeof.ts" "name": "keyword.operator.expression.typeof.ts"
} }
}, },
"end": "(?=[,);}\\]=>:&|{]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))", "end": "(?=[,);}\\]=>:&|{\\?]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))",
"patterns": [ "patterns": [
{ {
"include": "#expression" "include": "#expression"

View file

@ -4,7 +4,7 @@
"If you want to provide a fix or improvement, please create a pull request against the original repository.", "If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request." "Once accepted there, we are happy to receive an update request."
], ],
"version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/c0cba7d337a1c2a4815b31fb7fe785e6d52a53fc", "version": "https://github.com/microsoft/TypeScript-TmLanguage/commit/634a12f4fa2b2843c83353c0a395852c3a0c04c4",
"name": "TypeScriptReact", "name": "TypeScriptReact",
"scopeName": "source.tsx", "scopeName": "source.tsx",
"patterns": [ "patterns": [
@ -3371,7 +3371,7 @@
"name": "keyword.operator.expression.typeof.tsx" "name": "keyword.operator.expression.typeof.tsx"
} }
}, },
"end": "(?=[,);}\\]=>:&|{]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))", "end": "(?=[,);}\\]=>:&|{\\?]|$|;|^\\s*$|(?:^\\s*(?:abstract|async|class|const|declare|enum|export|function|import|interface|let|module|namespace|return|type|var)\\b))",
"patterns": [ "patterns": [
{ {
"include": "#expression" "include": "#expression"