mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
fix(typescript-snippet): fixed "newpromise" snippet
Fixed "newpromise" snippet
This commit is contained in:
parent
a9087e9d0a
commit
6d07984577
|
@ -282,8 +282,8 @@
|
|||
"new Promise": {
|
||||
"prefix": "newpromise",
|
||||
"body": [
|
||||
"new Promise<$1:type>((resolve, reject) => {",
|
||||
"\t$1",
|
||||
"new Promise<${1:void}>((resolve, reject) => {",
|
||||
"\t$0",
|
||||
"})"
|
||||
],
|
||||
"description": "Create a new Promise"
|
||||
|
|
Loading…
Reference in a new issue