jsdoc/test/fixtures/moduleisconstructor2.js

23 lines
393 B
JavaScript

/**
* Describe the module here.
* @module mymodule/config
*/
/** Describe the class here. */
export default class Config {
/** Create a new configuration. */
constructor(id) {
/** Document me. */
this.id = id;
}
/**
* Get the configuration ID.
*
* @return {string} The configuration ID.
*/
getId() {
return this.id;
}
}