一些 mode 中是有快捷键生成函数或变量注释的,但是没有的情况大家一般是怎么生成的? 比如底下这种格式
/**
* BarChart.
*/
export default class Bar {
/**
* Construct with the given `config`.
*/
constructor (options) {
this.set(options)
this.init()
}
/**
* Set configuration options.
*/
set (options) {
Object.assign(this, defaults, options)
}