Skip to content

Commit

Permalink
Add const async arrow function JavaScript snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
nomasprime authored and lpil committed Sep 5, 2020
1 parent c609efe commit 791c72d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion snippets/javascript/javascript.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,18 @@ snippet c=>
const ${1:function_name} = (${2}) => {
${0:${VISUAL}}
}
snippet caf
snippet ca=>
const ${1:function_name} = async (${2}) => {
${0:${VISUAL}}
}
snippet canf
const ${1:function_name} = (${2}) => {
${0:${VISUAL}}
}
snippet casf
const ${1:function_name} = async (${2}) => {
${0:${VISUAL}}
}
snippet =>
(${1}) => {
${0:${VISUAL}}
Expand Down

0 comments on commit 791c72d

Please sign in to comment.