提交 7de47980 编写于 作者: K Kyra 提交者: Matt Bierner

snippets: Add setInterval snippet (#61351)

* snippets: Add setInterval snippet

* fix: typo in prefix
上级 2863dd4b
......@@ -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": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册