snippets: Add setInterval snippet (#61351)

* snippets: Add setInterval snippet

* fix: typo in prefix
This commit is contained in:
Kyra 2018-10-20 00:13:08 +02:00 committed by Matt Bierner
parent 2863dd4b7e
commit 7de4798021

View file

@ -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": [