mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Update typescript.code-snippets (#98521)
This commit is contained in:
parent
a2bc061bc6
commit
ece530adcf
|
@ -123,7 +123,7 @@
|
|||
"Throw Exception": {
|
||||
"prefix": "throw",
|
||||
"body": [
|
||||
"throw \"$1\";",
|
||||
"throw new Error(\"$1\");",
|
||||
"$0"
|
||||
],
|
||||
"description": "Throw Exception"
|
||||
|
@ -167,7 +167,16 @@
|
|||
"}"
|
||||
],
|
||||
"description": "For-Of Loop"
|
||||
},
|
||||
},
|
||||
"For-Await-Of Loop": {
|
||||
"prefix": "forawaitof",
|
||||
"body": [
|
||||
"for await (const ${1:iterator} of ${2:object}) {",
|
||||
"\t$0",
|
||||
"}"
|
||||
],
|
||||
"description": "For-Await-Of Loop"
|
||||
},
|
||||
"Function Statement": {
|
||||
"prefix": "function",
|
||||
"body": [
|
||||
|
|
Loading…
Reference in a new issue