Skip to content
| Marketplace
Sign in
Visual Studio Code
>
Snippets
>
Promise snippets
New to Visual Studio Code?
Get it now.
Promise snippets
progre
|
12,848 installs
|
(
2
)
|
Free
Simple promise snippets for JavaScript and TypeScript
Installation
Launch VS Code Quick Open (
Ctrl+P
), paste the following command, and press enter.
Copy
Copied to clipboard
More Info
Overview
Version History
Q & A
Rating & Review
Promise snippets
JavaScript
Trigger
Content
promise
new Promise((resolve, reject) => { ... });
promisef
new Promise(function (resolve, reject) { ... });
TypeScript / JavaScript React / TypeScript React
Trigger
Content
promise
new Promise((resolve, reject) => { ... });