2015-12-07 08:56:47 +01:00
|
|
|
snippet const
|
2016-01-08 18:12:22 +08:00
|
|
|
const ${1} = ${0};
|
2015-12-07 08:56:47 +01:00
|
|
|
snippet let
|
2016-01-08 18:12:22 +08:00
|
|
|
let ${1} = ${0};
|
2015-12-07 08:56:47 +01:00
|
|
|
snippet im
|
2016-01-08 18:12:22 +08:00
|
|
|
import ${1} from '${0}';
|
2015-12-07 15:49:31 +01:00
|
|
|
snippet cla
|
2016-01-08 18:12:22 +08:00
|
|
|
class ${1} {
|
|
|
|
${0}
|
2015-12-07 08:56:47 +01:00
|
|
|
}
|
2015-12-07 15:49:31 +01:00
|
|
|
snippet clax
|
2016-01-08 18:12:22 +08:00
|
|
|
class ${1} extends ${2} {
|
|
|
|
${0}
|
2015-12-07 08:56:47 +01:00
|
|
|
}
|
|
|
|
snippet =>
|
2016-01-08 18:12:22 +08:00
|
|
|
(${1}) => {
|
|
|
|
${0}
|
2015-12-07 08:56:47 +01:00
|
|
|
}
|
2015-12-12 16:31:10 -02:00
|
|
|
snippet af
|
2016-01-08 18:12:22 +08:00
|
|
|
(${1}) => {
|
|
|
|
${0}
|
2015-12-12 16:31:10 -02:00
|
|
|
}
|
2015-12-07 08:56:47 +01:00
|
|
|
snippet sym
|
2016-01-08 18:12:22 +08:00
|
|
|
const ${1} = Symbol('${0}');
|
2015-12-07 08:56:47 +01:00
|
|
|
snippet ed
|
|
|
|
export default ${0}
|
2016-01-08 18:12:22 +08:00
|
|
|
snippet ${
|
|
|
|
${${1}}${0}
|