mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
snippets: Add setInterval snippet (#61351)
* snippets: Add setInterval snippet * fix: typo in prefix
This commit is contained in:
parent
2863dd4b7e
commit
7de4798021
|
@ -140,6 +140,15 @@
|
|||
],
|
||||
"description": "Set Timeout Function"
|
||||
},
|
||||
"Set Interval Function": {
|
||||
"prefix": "setinterval",
|
||||
"body": [
|
||||
"setInterval(() => {",
|
||||
"\t$0",
|
||||
"}, ${1:interval});"
|
||||
],
|
||||
"description": "Set Interval Function"
|
||||
},
|
||||
"Import external module.": {
|
||||
"prefix": "import statement",
|
||||
"body": [
|
||||
|
|
Loading…
Reference in a new issue