We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f723c commit be7c8c7Copy full SHA for be7c8c7
snippets/snippets.cson
@@ -54,7 +54,19 @@
54
"""
55
'new Promise':
56
'prefix': 'npro'
57
- 'body': 'new Promise((${1:resolve}, ${2:reject}) => )'
+ 'body': 'new Promise((${1:resolve}, ${2:reject}) => );'
58
+ 'then() with nested annonymous function':
59
+ 'prefix': 'then'
60
+ 'body': """then(( ${1:response} => {
61
+ $2
62
+ });
63
+ """
64
+ 'catch() with nested annonymous function':
65
+ 'prefix': '.catch'
66
+ 'body': """catch(( ${1:error} => {
67
68
69
70
71
# React
72
'React Component Snipet':
0 commit comments