File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "import" : {
33 "prefix" : " imp" ,
4- "body" : " import $1 from '${2 :module}';$0" ,
4+ "body" : " import ${2:moduleName} from '${1 :module}';$0" ,
55 "description" : " Imports entire module statement in ES6 syntax"
66 },
77 "importDestructing" : {
88 "prefix" : " imd" ,
9- "body" : " import { $1 } from '${2 :module}';$0" ,
9+ "body" : " import { $2 } from '${1 :module}';$0" ,
1010 "description" : " Imports only a portion of the module in ES6 syntax"
1111 },
1212 "importEverything" : {
1313 "prefix" : " ime" ,
14- "body" : " import * as ${1 :alias} from '${2 :module}';$0" ,
14+ "body" : " import * as ${2 :alias} from '${1 :module}';$0" ,
1515 "description" : " Imports everything as alias from the module in ES6 syntax"
1616 },
1717 "importAs" : {
1818 "prefix" : " ima" ,
19- "body" : " import {${1 :originalName} as ${2 :alias} } from '${3 :module}';$0" ,
19+ "body" : " import {${2 :originalName} as ${3 :alias} } from '${1 :module}';$0" ,
2020 "description" : " Imports a specific portion of the module by assigning a local alias in ES6 syntax"
2121 },
2222 "exportNamedFunction" : {
4545 "body" : " constructor(${1:params}) {\n\t ${0}\n }" ,
4646 "description" : " Add default constructor in a class in ES6 syntax"
4747 },
48- "mehtod " : {
48+ "method " : {
4949 "prefix" : " met" ,
5050 "body" : " ${1:methodName}(${2:params}) {\n\t ${0}\n }" ,
51- "description" : " Creates a mehtod inside a class in ES6 syntax"
51+ "description" : " Creates a method inside a class in ES6 syntax"
5252 },
5353 "propertyGet" : {
5454 "prefix" : " pge" ,
You can’t perform that action at this time.
0 commit comments